OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: Comments about the spec



> > 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                   kohsuke.kawaguchi@sun.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC