>From: David_Wittler/ATL/Lotus@lotus.com >Date: Wed, 25 Mar 1998 11:28:37 -0500 > >In http://www.w3.org/TR/1998/REC-xml-19980210 "CharData" is defined as >follows: > >[14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*) > >As such it matches a string of 0 characters. Shouldn't it be defined as: > >[14] CharData ::= [^<&]+ - ([^<&]* ']]>' [^<&]*) > >CharData is only used in the production: > >[43] content ::= (element | CharData | Reference | CDSect | PI | >Comment)* > >This already allows "content" to be empty. If the XML processor were >parsing > ><tag><\tag> > >it could legally generate any number of emtpy CharData objects by the first >definition. Thanks for the note. On first glance, it looks like you're right; I'll need to look at it carefully to be sure. -C. M. Sperberg-McQueen cmsmcq@uic.edu, tei@uic.eduReceived on Wednesday, 25 March 1998 12:23:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT