> > In section 4.19, <list><empty/><list> is not transformed to <empty/>.
> > Why not?
>
> A string consisting of one or more whitespace characters will match
> <list><empty/></list> but not <empty/>. This doesn't make a difference in
> the content of an element, but it does make a difference in the content of
> an attribute.
Now I see that
<attribute name="foo">
<empty/>
</attribute>
and
<attribute name="foo">
<list><empty/></list>
</attribute>
are different.
Then I think there is no problem in the current spec.
> <list><empty/></list> could be transformed to <value
> type="token"/>. Would that be an improvement?
No, I don't think so.
regards,
--
Kohsuke KAWAGUCHI +1 650 786 0721
Sun Microsystems