The standard JAXP attribute
http://java.sun.com/xml/jaxp/properties/schemaSource lets you
specify schemata to be considered while parsing XML, without entering in the whole catalog
stuff. Likewise, the Xerces attribute
http://apache.org/xml/features/validation/dynamic
tells the parser to validate the document only if a schema is specified. Together, these
two attributes allow the parser to work offline and validate only those elements whose
schema is available.
Working without namespaces is a matter of setting either the default namespace or the
xsi:noNamespaceSchemaLocation attribute right. Should not be an obstacle to a solution
based on namespaces.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160701#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...