Hi Mikael,
   I committed a fix for XSSerializer at,

https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java

The fix seems to serialize the XML Schema document you pointed fine.

Could you please take update of code, and test please.

This is still an experimental facility, so improvements are still possible.

On Tue, Aug 10, 2010 at 12:10 PM, Mikael Åsberg <mikael.asb...@liu.se> wrote:
> 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



-- 
Regards,
Mukul Gandhi

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

Reply via email to