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=21038>. 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=21038 parser gets stuck on patterns Summary: parser gets stuck on patterns Product: Xerces2-J Version: 2.4.0 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED],[EMAIL PROTECTED] In a very unique situation the parser gets stuck. The situation is as follows: The xml schema defines that an element nested at level 2 (it has a father and grandfather elements) has a certain pattern restriction on one of its attributes. This Attribute is also defined to be a key attribute for the element's father. Now lets say we have an xml file that uses this schema and it defines two elements in the afore mentioned second level. The first one has the attribute and it is valid (correct pattern), but the second element is illegal (bad pattern). Xerces gets stuck under these conditions (not before reporting the errors though). I have composed a very simple example that demonstartes this. Please contact me at [EMAIL PROTECTED] to get it. Let me note that for this example, when the root element has the attribute xmlns:amt="http://www.ibm.com/amt/" it gets stuck but add a space (xmlns:amt=" http://www.ibm.com/amt/") and it works. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
