On 2010-08-09 17:29, Mukul Gandhi wrote:
I think there was a fix published on Xerces SVN after Xerces-J 2.10.0
was released, that probably solves this problems.
Please try to use the latest file available here,
https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
and try running your example again.
It would be great, if you can report if that works. If it doesn't
please feel free to report the outcome, or report a bug.
Yes, then it works for a simple schema. However, when I feed it a more
complex schema, namely this one:
https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/specifications/sbml-level-2/version-4/schema/sbml.xsd
I get a NullPointerException on this line:
String type2Name = typeDefn2.getName();
So it seems like the method schemaTypesIdentical can be called with a
null XSTypeDefinition for its second argument at least but the method
doesn't account for that. The version altered by my co-worker suffers
from the same problem.
- Mikael
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org