I'm trying to set up an addon for editing using a complex RelaxNG
schema. When XXE tries to load the schema, however, it is hitting an
exception:
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
at com.xmlmind.xml.rng.validate.Pattern.samePattern(Pattern.java:39)
at
com.xmlmind.xml.rng.validate.OneOrMorePattern.samePatternAs(OneOrMorePattern.java:37)
at com.xmlmind.xml.rng.validate.Pattern.samePattern(Pattern.java:39)
at
com.xmlmind.xml.rng.validate.ListPattern.samePatternAs(ListPattern.java:30)
and so forth for many more lines.
This happens with many (but not all) of a family of schemas that are in
development, for instance those available here:
http://www.daisy.org/z3986/2010/auth/profiles/book/0.3/z3986a-book.html
Under "Informative Schemata" there is a single-file version of the
schema that is convenient to test with, called z3986a-book.single.rng .
I am not sure if this is a bug in XXE or a bug in the schema; but I am
told that the schema works fine in Oxygen. I would love to be able to
make it work in XXE as well.
Bng
--
Boris Goldowsky <bgoldowsky at cast.org>