I'd like to validate my (small) XML document against my (small ;-)) XML schema.
I've seen multiple posts in the archives of this mailing-list + the DOMPrinter sample, but I must admit I am quite confused... I can't get it quite to work, nor do I really understand exactly what's going on.
I managed to get my source code do some validation, but it complains about schema location "Message: The schemaLocation attribute does not contain pairs of values"... and as a matter of fact, I'm unsure how to tell him where my schema is.
- there doesn't seem to be any validation against my schema unless I specify Val_Schemes::Val_Always ? By the way I do have implemented my own ErrorHandler to catch the errors.
- do I need to call setExternalSchemaLocation() to set where to find my schema, or should it be set in the XML Schema, or does it need to be at both places ? or should I rather use noNamespaceSchemaLocation in the XML document ?
Thanks Axelle.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]