W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2015

JSON: clarify escapes for the @name attribute

From: Erik Bruchez <erik@bruchez.org>
Date: Fri, 20 Nov 2015 10:27:51 -0800
Message-ID: <CAAc0PEXeNhGvwRC-+_DW+P5eGZ-imEMwvxWTc_uaRMON3Keadw@mail.gmail.com>
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>, Forms WG <public-forms@w3.org>

The spec says:

    "The content of a string is copied across, and an attribute
type="string" is added to its containing element. Escaped characters
are transformed as necessary; characters and escapes that have no
equivalent XML character (\b, \f, and characters of the form \uxxxx
less than \u0020) are transformed by adding \uE000 to them."

This spec text covers `type="string"`, but we also need to say that
this applies to the value of the `@name` attribute, as the JSON
property name can also contain such "escapes that have no equivalent
XML character".

Received on Friday, 20 November 2015 18:28:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:45 UTC