Jing validation: Error loading schema #51

Closed
rdeltour opened this Issue Jun 29, 2012 · 4 comments

Comments

Projects
None yet
2 participants
@rdeltour
Contributor

rdeltour commented Jun 29, 2012

I have a small XProc document that validates a document with a RelaxNG schema loaded from a p:document with a relative URI. The schema has an include element that references another schema file sitting in the same directory. When I invoke Calabash with no URI Resolve it runs fine, but it crashed with "SEVERE: com.xmlcalabash.core.XProcException: Error loading schema" when I set a URI Resolver like this:

calabash -U org.xmlresolver.Resolver test.xpl

I'll attach the samples to reproduce.

I tried to debug Calabash, and it seems Jing fails to parse the schema, complaining at some point that the "namespace URI of document element must be "http://relaxng.org/ns/structure/1.0"". I'm clueless.

@rdeltour

This comment has been minimized.

Show comment
Hide comment
@rdeltour

rdeltour Jun 29, 2012

Contributor

Repro files are available there:
https://gist.github.com/3018018

Contributor

rdeltour commented Jun 29, 2012

Repro files are available there:
https://gist.github.com/3018018

@ndw

This comment has been minimized.

Show comment
Hide comment
Owner

ndw commented Jan 29, 2013

@ndw

This comment has been minimized.

Show comment
Hide comment
@ndw

ndw Jan 29, 2013

Owner

Wow. That was ugly. Deep in the XProcURIResolver, I managed to create an XMLReader that wasn't namespace aware. Fixed now for 1.0.7.

Owner

ndw commented Jan 29, 2013

Wow. That was ugly. Deep in the XProcURIResolver, I managed to create an XMLReader that wasn't namespace aware. Fixed now for 1.0.7.

@rdeltour

This comment has been minimized.

Show comment
Hide comment
@rdeltour

rdeltour Jan 30, 2013

Contributor

Great, good catch.

Contributor

rdeltour commented Jan 30, 2013

Great, good catch.

ndw added a commit that referenced this issue Jan 30, 2013

@ndw ndw closed this Jan 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment