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

http://www.w3.org/2005/06/tracker/databinding/issues/10

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?

[snip]
Pete Cordell
Tech-Know-Ware Ltd
"""
Received on Thursday, 12 January 2006 16:05:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:36 GMT