The Crimson DOM implementation in (some versions of) the Sun JDK 1.4 has a bug in the implementation of hasAttributeNS. This bug can be seen, when ''loading or importing a model from XML Schema'', as either:

+

The Crimson DOM implementation in (some versions of) the Sun JDK 1.4 has a bug in the implementation of <code>hasAttributeNS</code>. This bug can be seen, when ''loading or importing a model from XML Schema'', as either:

* a null pointer exception, or

* a null pointer exception, or

Latest revision as of 12:56, 14 February 2008

Manifestation

The Crimson DOM implementation in (some versions of) the Sun JDK 1.4 has a bug in the implementation of hasAttributeNS. This bug can be seen, when loading or importing a model from XML Schema, as either:

Note

If you use the IBM JDK 1.4 or a 5.0 JDK instead of the SUN JDK 1.4, this workaround is not required.

If you will NOT be loading or importing model(s) from XML Schema, or do not plan to use the XSD plugin, but intend to generate models from Rose, annotated java code, or using pre-existing ecore file(s), this workaround is also not required. EMF & SDO will work fine without Xerces.

Please do NOT open any bugs or post comments to the newsgroup regarding the absence of Xerces in the Eclipse plugin directory or that the above workaround no longer works.