|How to access the ID of a XSDComponent [message #604138]
||Thu, 02 April 2009 16:04
Registered: July 2009
The specification http://www.w3.org/TR/xmlschema-1/ describes a field |
'id' at nearly each XSD Element, e.g. "xsd:attribute".
I don't find this field in the ECORE model xsd.ecore.
My problem is that I want to read and write this field.
I have this XSD excerpt:
<xsd:attribute name="B" id="r19">
<xsd:minLength value="0" />
<xsd:maxLength value="10" />
I don't know how to read the value of the 'id' through the
XSDAttributeDeclaration but succeed via the field 'element:DOMElement'.
I don't know how to set the value of 'id'. I tried with filling the
XSDResourceImpl:setIntrinsicIDToEObjectMap(), but this has no effect for
This map is also not filled at load time.
Is this a bug or is there another proposed way to read and write 'id'?
Powered by FUDForum
. Page generated in 0.01984 seconds