On 23 April 2012 19:31, David Glaser <dgla...@acmepacket.com> wrote: > I tried to load an XSD conforming to Version 1.1 using the QueryXS.java > sample and it refuses to load an XSD containing a single “assert” element. > > > > I used the getRecognizedVersions() method of the XSImplementation object to > determine what versions are supported and it reports “1.0”. > > > > T then tried to create a new string list that has “1.0” and “1.1” and then > passed the string list to the createXSLoader method. It threw an exception > saying > > > > “FEATURE_NOT_SUPPORTED: The parameter 1.1 is recognized but the requested > value cannot be set”. > > > > So, how do I get an XSLoader that will load a 1.1 xsd?
Are you sure you've got the 2.11 version that supports xsd 1.1 ? There are 2 versions of 2.11.0, one that supports xsd 1.0, and one that supports xsd 1.1. -- Andrew Welch http://andrewjwelch.com --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org