Hi all,
I'm trying to get valitation errors with HXT / RelaxNG schemas. For instance,
an error is reported when I run the following code. However, the return of getErrors is
an empty list.
> main :: IO ()
> main = do
> rc <- runX ( readDocument [] "input.xml"
> >>>
> validateDocumentWithRelaxSchema [] "schema.rng"
> >>>
> getErrors
> )
> print rc
How can I get the list of errors?
Thanks in advance,
Rodrigo.