ISSUE-10: Mapping Element and Type names

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 UTC