You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Markus Stier (JIRA)" <ji...@apache.org> on 2013/02/20 16:31:13 UTC

[jira] [Created] (XMLSCHEMA-27) XMLSchemaObject.equals() uses lineNumber which is always 0

Markus Stier created XMLSCHEMA-27:
-------------------------------------

             Summary: XMLSchemaObject.equals() uses lineNumber which is always 0
                 Key: XMLSCHEMA-27
                 URL: https://issues.apache.org/jira/browse/XMLSCHEMA-27
             Project: XmlSchema
          Issue Type: Bug
    Affects Versions: 2.0.2
            Reporter: Markus Stier


For each pair of objects in the same XML schema, equals() returns true, if you use an XMLSchemaCollection.read() to parse the xsd.
equals should not use lineNumber and linePosition but namespace, localname and class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org