I need to validate some xml against a version 1.1 xsd file, and I cannot even create a schemaFactory!
I have downloaded Xerces-J-bin.2.12.0-xml-schema-1.1, and I can verify that org/apache/xerces/jaxp/validation/XMLSchema11Factory.class is present. When I attempt to create a new factory instance with SchemaFactory sf = SchemaFactory.newInstance(ā http://www.w3.org/XML/XMLSchema/v1.1ā); I get an Exception: java.lang.IllegalArgumentException: No SchemaFactory that implements the schema language specified by: http://www.w3.org/XML/XMLSchema/v1.1 could be loaded I am able to get a newInstance with the language XMLConstants.W3C_XML_SCHEMA_NS_URI = http://www.w3.org/2001/XMLSchema but then of course I cannot handle xsd 1.1 elements like <assert> Iām clearly misunderstanding something, but I have searched for examples and come up short. Can somebody point me the the right direction? Thanks in advance, Bill -- Human wheels spin round and round While the clock keeps the pace... -- John Mellencamp ________________________________________________________________ Bill Tantzen University of Minnesota Libraries 612-626-9949 (U of M) 612-325-1777 (cell)