[ragel-users] Help with grammar of XML
Adrian Thurston
adrian.thurston at esentire.com
Mon Nov 23 18:56:01 UTC 2009
Indeed it does. It means that in the XML grammar, and in Ragel.
-Adrian
Iñaki Baz Castillo wrote:
> Hi, I've terminating a Ragel parser and to finish it I just must understand
> the following XML grammar as appears in:
> http://www.w3.org/TR/REC-xml/#NT-AttValue
>
>
> AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'"
>
> Could I know which would be the equivalent to [^<&"] in Ragel grammar?
> The problem is that I¡m not 100% sure of what [^<&"] means in the XML grammar
> as it's not BNF which I'm used to.
>
> Does [^<&"] means "any symbol but '<', '&' and '"'?
>
> Thanks a lot.
>
More information about the ragel-users
mailing list