[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. > > 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=" ". I think you meant to say: <attribute name="foo"><list><empty/></list></attribute> matches foo=" ", but <attribute name="foo"><empty/></attribute> does not. On the other hand <element name="foo"><empty/></element> does match <foo> </foo> James
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC