Re: Relationship among our data model, patterns, and XML 1.0

From
James Clark <>
Date
2001-06-13T04:15:27+00:00
ID
0b7401c0f3bf$39e69610$
Thread
Re: Relationship among our data model, patterns, and XML 1.0
> But my concern is, what happens if the following pattern is given?
>
> <oneOrMore>
>   <choice>
>     <attribute>
>       <nsName ns="foo"/>
>     </attribute>
>     <attribute name="bar:xyz"/>
>   </choice>
> </oneOrMore>
>
> Is this still OK?

Which aspect of the pattern concerns you?  Is it the <choice> inside the
<oneOrMore>, or the fact that you have an attribute with a non-infinite
class inside <oneOrMore>?

I don't think either of these need to be prohibited: the <oneOrMore> has a
non-colliding semantics for all attributes.

James