Hi
folks,
This is
to try to pick up on the issue identified by Suman in today’s call.
The Issue
Consider
the following example:
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:annotation><xs:appinfo
source=”http://dataformat.org” />
<hidden>
<xs:element
name="repeats"
type="xs:integer"/>
</hidden>
</xs:appinfo></xs:annotation
>
<xs:element
name="testElement"
type="xs:integer " minOccurs=”0”
maxOccurs=”unbounded”
dfdl:repeatCount=”../repeats”>
</xs:complexType>
</xs:element>
The
problem is that the path “../repeats” can be broken by
modifications to the logical model due to name clashes on “repeats”
and there are cases that can be constructed where this would not be obvious to
a user.
Possible Solutions
Possible
fixes to this include:
I
believe my preference here is 2a or 2b followed by 1.
Comments/suggestions/opinions?
Thanks,
Martin