[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Comments about the spec
James Clark wrote: > > > 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. I was at first puzzled, but you are right. <element name="foo"><list><empty/></list></element> matches <foo> </foo>, but <attribute name="foo"><list><empty/></list></element> does not match foo=" ". ><list><empty/></list> could be transformed to <value > type="token"/>. Would that be an improvement? Since we allow <list>p</list> where p can be empty, I do not think that this is an improvement. Cheers, Makoto
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC