W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > November 2010

Re: Template note updated

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 19 Nov 2010 07:08:57 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m28w0pcy7a.fsf@nwalsh.com>
"vojtech.toman@emc.com" <vojtech.toman@emc.com> writes:
> Just a small question, is the following an error (probably err:XD0067)
> or is it allowed?
>
> <doc>}</doc>
>
> It is clearly something the parser can recover from and treat the '}'
> character as a single closing curly brace. But do we want to introduce
> such "convenience feature"?

I would have expected it to be an error. We either need to change the
rules so that }} has no special meaning in regular mode or make } an
error.

I think making } an error will be easier for users to remember.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com

Received on Friday, 19 November 2010 12:09:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 19 November 2010 12:09:32 GMT