L
Lord0
Hi there,
Does anyone have any experience of validating XML using Schematron
schemas in Java?
I see no constants in the XMLConstants class which would allow you to
create an instance of Schematron SchemaFactory (although the
javax.xml.validation docs do mention Schematron).
Much as the example below creates a WXS schema factory
// create a SchemaFactory capable of understanding WXS schemas
SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
I can see nothing for Schematron
Cheers
Lord0
Does anyone have any experience of validating XML using Schematron
schemas in Java?
I see no constants in the XMLConstants class which would allow you to
create an instance of Schematron SchemaFactory (although the
javax.xml.validation docs do mention Schematron).
Much as the example below creates a WXS schema factory
// create a SchemaFactory capable of understanding WXS schemas
SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
I can see nothing for Schematron
Cheers
Lord0