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

RE: WD for Namespaces 1.1


RE:  WD for Namespaces 1.1
> -----Original Message-----
> From: Rob Lugt [mailto:roblugt@e...]
>
> Gustaf Liljegren wrote:
>
>
> <going long (sorry)>
>
> It all started with the XML 1.0 declaration <?XML version="1.0"?>.  This
> signal, from the document to the XML processor, indicating what version of
> the spec it adheres to, is the root of the problem.
>
> I think it would be better if the XML processor worked out for itself
> whether a document conforms - and the user of the document should indicate
> to the processor what level of conformance he requires or
> expects.

[...]

> <conclusion>
> Get rid of the XML declaration and we can all be a lot more relaxed about
> making small, incremental changes to the XML specifications.  Does anyone
> agree, or should I get my flame-proof underwear on?
>
>

Apart from setting the XML version number, the declaration may describe the
character encoding for the document. Are we using ISO-8859-1, UTF-8,
SHIFT-JIS, KOI-8 or another character set altogether? Is the byte '0xff'
interpreted as a small umlaut y (as is general in western environments), or
as the Cyrillic small hard sign? [1] Yes, one could remove the declaration
and use UTF-8 to your heart's contents. However, many companies like using
old-time formats like ISO-8859-1; it's easier to edit XML with your standard
text editor. They would not like to lose this ability.

Nor - may I add - would they like older XML documents made invalid by
removing the XML declaration altogether.

> Kind regards
> Rob Lugt
> ElCel Technology
> http://www.elcel.com/
>

Regards,
Peter.

[1] http://koi8.pp.ru/koi8-r.gif


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.