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

Re: RE: XML Schema: What does it *really* mean to declarean el

  • From: Chris Maloney <voldrani@gmail.com>
  • To: David Lee <dlee@calldei.com>
  • Date: Tue, 1 Jan 2013 19:12:17 -0500

Re:  RE: XML Schema: What does it *really* mean to declarean el
I agree with the responses so far to Roger, with one important caveat,
which ties in with the discussions on Unicode that he recently led.
It is possible to truly change, and thus obfuscate, your element names
if you use, for example, mathematical alphanumerics.

Here's a "W" that's not really a "W", it's a "mathematical script
capital W" (U+1D4B2) and this would be a completely different element
(may or may not show up in your mail reader):

<𝓦>...</𝓦>

It's a different unicode character, but semantically, one could argue
that it is still a "W".  I understand there was a lot of controversy
before the Unicode consortium allowed these characters to be added.


On Tue, Jan 1, 2013 at 5:37 PM, David Lee <dlee@calldei.com> wrote:
>
> Suppose you just write the element names in invisible ink
>
>
>
> < > < />
>
>
>
> Really neat eh ?
>
>
>
>
>
> ----------------------------------------
>
> David A. Lee
>
> dlee@calldei.com
>
> http://www.xmlsh.org
>
>
>
> From: Costello, Roger L. [mailto:costello@mitre.org]
> Sent: Tuesday, January 01, 2013 2:44 PM
> To: xml-dev@lists.xml.org
> Subject:  XML Schema: What does it *really* mean to declare an element?
>
>
>
> Hi Folks,
>
>
>
> I have an XML Schema in which I declared this element:
>
>
>
>         <xs:element name="W" type="xs:string" />
>
>
>
> What does that element declaration really mean?
>
>
>
> Does it mean that in an instance document I may only have this:
>
>
>
>     <W>...</W>
>
>
>
> Suppose I italicize the element name:
>
>
>
>     <W>...</W>
>
>
>
> Suppose I italicize the element name and make it BIG:
>
>
>
>     <W>...</W>
>
>
>
> Suppose I make the start tag BIG but the end tag small:
>
>
>
>     <W>...</W>
>
>
>
> Suppose I display the element name in Magneto font:
>
>
>
>     <W>...</W>
>
>
>
> How about Old English font:
>
>
>
>     <W>...</W>
>
>
>
> They are all equivalent:
>
>
>
>     <W>...</W>
>
>     <W>...</W>
>
>     <W>...</W>
>
>     <W>...</W>
>
>     <W>...</W>
>
>     <W>...</W>
>
>
>
> Neat!
>
>
>
> /Roger
>
>


[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.