W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > January 2006

ISSUE-10: Mapping Element and Type names

From: Databinding Issue Tracker <dean+cgi@w3.org>
Date: Thu, 12 Jan 2006 14:33:26 +0000 (GMT)
To: public-xsd-databinding@w3.org
Message-Id: <20060112143326.76C3EBDA7@w3c4.w3.org>

ISSUE-10: Mapping Element and Type names


Raised by: Paul Downey
On product: Basic

Related to Ed's message, the character space for XML names is much richer
than many program language identifiers.  The disparity is not too bad for
languages like Java, but there are still various punctuation characters (.)
that are allowed in XML names that are not allowed in Java names.  The
mismatch for C/C++ is even bigger.  JAXB offers rules for mapping XML names
to Java, so maybe that is not a concern, but nothing formal exists for C/C++
to my knowledge.

So the questions for C/C++ and other languages with similar limitations
become:  is this an issue?  Should it be left to vendors to sort out?
Should a mapping procedure be specified that ends up with only valid C/C++
characters?  Should developers be advised that for maximum portability the
character set used for XML names should be limited to the C/C++ set?

Pete Cordell
Tech-Know-Ware Ltd
Received on Thursday, 12 January 2006 16:05:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:12 UTC