[ 
https://issues.apache.org/jira/browse/XMLSCHEMA-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126040#comment-14126040
 ] 

Daniel Kulp commented on XMLSCHEMA-27:
--------------------------------------

The real issue here is that each subclass of XmlSchemaObject should be 
providing an equals method and they are not.

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to