[
https://issues.apache.org/jira/browse/TUSCANY-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fuhwei Lwo updated TUSCANY-1128:
--------------------------------
Attachment: dupelement.xsd
DupElementTestCase.java
Attached DupElementTestCase.java and dupelement.xsd.
It seems our current implementation is renaming the duplicate element so the
first one always hides the second one so I think we are complying to the 2.1
spec.
Fuhwei
> Support attribute and element with same name
> --------------------------------------------
>
> Key: TUSCANY-1128
> URL: https://issues.apache.org/jira/browse/TUSCANY-1128
> Project: Tuscany
> Issue Type: New Feature
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-Next
> Reporter: Yang ZHONG
> Priority: Minor
> Fix For: Java-SDO-Next
>
> Attachments: 1128.patch, 1128.patch,
> DifferAttrFromElementTestCase.java, dupelement.xsd, DupElementTestCase.java
>
>
> To support attribute and element with same name within one Type such as
> <complexType>
> <sequence>
> <element name="property" type="int"/>
> </sequence>
> <attribute name="property" type="string"/>
> </complexType>
> and using "@property" to access attribute and "property" to access element.
> This is to support OTA standard schema used in the travel industry.
> "@property" notation comes from XPath:
> http://www.w3.org/TR/xpath#path-abbrev
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]