> <sequence>
>   <element name="foo" type="..."/>
>   <any namespace="#all" ... />
> </sequence>
>
> Or is this invalid, too?

Well, quite weirdly, but this one is valid. I don't know the intention of
such "same name, same type" rule either. And the schema spec is not clear
(at least to me) whether the following is valid:

<sequence>
  <element name="foo" type="string" fixed="value1"/>
  <element name="foo" type="string" fixed="value2"/>
</sequence>

Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to