Is there a way to specify a specific XML schema in the parsing code? I'm trying to avoid putting a lot of error checking into my Java code by reusing the XML schema. It works fine if they specify the xsi:schemaLocation stuff in the document, but I want it to check even if they've forgotten it, rather than giving a mystery NullPointerException from my code when an attribute is missing.

Alternatively, if I could just throw an error if the schema location isn't set, that might be good enough.

Thanks,
Scott Lamb


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to