Re: http:location grammar

John Kaputin (gmail) said:
> Phillippe,
> can you please explain the meaning of CharData? I can probably guess what
> it
> is, but I don't understand the notation [^{}]*

As noted in the wikipedia entry on EBNF, W3C used a different version in
the XML 1.0 spec [1]. We didn't invent however and ^ is pretty common in
regular expression languages.

[^ ] indicates an optional group where everything is allowed except the
options in the group. [^{}] means anything except { or }.

Philippe

[1] http://www.w3.org/TR/REC-xml/#sec-notation

Received on Saturday, 13 January 2007 00:17:33 UTC