DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9243>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9243 Schema CM API : NullPointerException Summary: Schema CM API : NullPointerException Product: Xerces2-J Version: 2.0.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When trying to get an XSModel from an ASModel for a schema without a specified namespace a NullPointerException is thrown. The problem seems to be due to the namespace value which is passed as null and in SymbolHash it gets as key parameter and hashCode is called on this, thus throwing the NullPointerException. I added some code in SynbolHash at the begining of put, search, and get methods to work this out to be able to test further, but I do not think this is the best way to handle this: if (key == null) { key = ""; } Test file: xml-xerces/java/data/personal.xsd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
