Hello all!

I originally posted this in the main App Engine group, but was told to
try my luck here.

I'm developing an application for App Engine that will take a Relax NG
schema and build a Document object against it from nodes that I
append.

My implementation works on my local machine (Mac OS X Snow Leopard,
Eclipse Helios Java EE edition, GWT 2.2.0, App Engine 1.4.2), but when
I deploy it I get the following error:

"java.lang.IllegalArgumentException: No SchemaFactory that implements
the schema language specified by: http://relaxng.org/ns/structure/1.0
could be loaded"

It is complaining about the following lines of code:

        System.setProperty(SchemaFactory.class.getName() + ":" +
XMLConstants.RELAXNG_NS_URI,
"com.thaiopensource.relaxng.jaxp.CompactSyntaxSchemaFactory");
        SchemaFactory schemaFac =
SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);  <-- The
exception occurs on this line.

Does anyone have any ideas as to how I can fix this? Like I said, it
works on my local machine.

Essentially what I would like to do is create a Schema from a Relax NG
file that is then passed to a DocumentBuilderFactory via the
"setSchema()" method.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to