Re: Proposed resolution for #19: attrInAttr

From
MURATA Makoto <>
Date
2001-05-25T13:19:12+00:00
ID
Thread
Re: Proposed resolution for #19: attrInAttr
James Clark wrote:
> For example, should
>it give a warning for:
>
><attribute name="foo">
>  <choice>
>    <data type="xsd:string">
>    <element name="bar">...</element>
>  </choice>
></attribute>
>
>? Why should it not be an error to have something like:
>
><attribute name="foo">
>  <element name="bar"/>
></attribute>
>
>?  Is it because it is too hard to detect?  If it's too hard to detect, then
>I don't want to say that implementations "should" detect it.

Ater normalization, <attribute> does not contain <element> or <attribute>.  Is this 
hard to detect?

Cheers,

Makoto