You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Andrew Welch <an...@gmail.com> on 2012/09/25 15:55:32 UTC

Re: error when using

Make sure you've downloaded the right version...


On 25 September 2012 14:47, Jim Barnett <Ji...@genesyslab.com> wrote:
> I’m trying to use the jaxp.SourceValidator example in the beta version of
> 2.11.  When I pass in the –xsd11 flag, I get a “no schema factory” error as
> shown below.  I assume that I’m doing something very stupid, but I can’t
> figure out what it is.  Any guidance would be appreciated.
>
>
>
> Thanks,
>
> Jim
>
>
>
> C\SCXML_Tests>java -cp
> D:\xerces\xerces-2_11_0-xml-schema-1.1-beta\xercesSamples.jar
> jaxp.SourceValidator -a <someschema.xsd> -i <somefile> -xsd11
>
> : Parse error occurred - No SchemaFactory that implements the schema
> language specified by: http://www.w3.org/XML/XMLSchema/v1.1 c
>
> be loaded
>
> lang.IllegalArgumentException: No SchemaFactory that implements the schema
> language specified by: http://www.w3.org/XML/XMLSchema/
>
> could be loaded
>
>    at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
>
>    at jaxp.SourceValidator.main(Unknown Source)



-- 
Andrew Welch
http://andrewjwelch.com

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org