[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: XML element names

  • From: David Carver <d_a_carver@y...>
  • To: Michael Kay <mike@s...>
  • Date: Sun, 24 Feb 2008 10:12:14 -0500

Re:  Re: XML element names
Michael Kay wrote:
>> This describes why prohibition of certain characters in names 
>> (actually, person names as described in this article), can cause 
>> certain people from not being able to use certain applications. I 
>> think, the concepts of this article apply to XML names as well ...
>>     
>
> Actually, I'm not entirely convinced by this. I think that XML names are
> primarily for use within the IT system and do not need to have any direct
> relationship to strings that are meaningful to end users. Mathematicians
> have always been happy working with symbols in a foreign alphabet, and many
> programmers don't seem to mind it either. 
Michael, I would have to disagree with this. EDI had/has cryptic 
characters and if you are an end user trying to figure out why a message 
isn't coming in as you expect, unless you know the spec inside and out 
for the message being sent, it is very time consuming trying to debug 
what is wrong. The same thing hold's true for XML files and elements and 
attribute names. A human eventually has to look at it at some point 
during the development process. Even programmers, and I know many that 
prefer something they can read and decipher, as opposed to the other 
formats that require more intiment knowledge of the spec (i.e. 
<2A3></2A3> what does that actually mean?? as opposed to 
<PurchaseOrderID></PurchaseOrderID>).
> (Perhaps there is a case for allowing names to use letters from any alphabet
> but not allowing different alphabets to be mixed in the same namespace?)
>   
I would more appropriately say, that the entire file needs to be encoded 
in the same character set. Mixing characterset encodings would be bad. 
I've seen it done and it causes all sorts of havoc.





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.