- From: Dan Connolly <connolly@w3.org>
- Date: Mon, 12 Mar 2001 11:16:32 -0600
- To: Matti Koskivirta <matti.koskivirta@jsop.fi>
- CC: xml-editor@w3.org
Matti Koskivirta wrote: > > Dear Sir/Madam, > > I'm referring to the definition of > XML in http://www.w3.org/TR/REC-xml > > This defintion has a rule number 14: > > [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*) > > I think that this definition of CharData is somewhat odd > since it accepts only strings that consist of > "^", "<" and "&" characters (or a null string) > and nothing else. umm... no... ^ is special: [^<&] stands for "all characters except < and &", not "any of ^ < &". There's a section on notation toward the end of the spec. http://www.w3.org/TR/REC-xml#sec-notation > Shouldn't it rather read: > > [14] CharData ::= (BaseChar|Ideographic|CombiningChar|Extender)* - ([^<&]* > ']]>' [^<&]*) > > or something like that? -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Monday, 12 March 2001 12:16:47 UTC