Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Version 3

Status
Not open for further replies.

Skittle

ISP
Joined
Sep 10, 2002
Messages
1,528
Location
US
I am teaching myself XML via a pile of books and my main source tells me that at the time of writing there was only was verions of XML. This means that the declaration line for all of the books examples have the declaration line:-

<?xml version=!1.0"?>

Out of curiosity, has another version been released yet?
My book has a published date of 2001.

Dazed and confused
 
Yes - there is version 1.1 but there are no commercial products to my knowledge which use this yet. It is practically the same as 1.0 except for support for some more Unicode chars.
 
Yes, there is a version 1.1. Don't use it. Basically, it expands the character set that can be used in names, which is useful only if you speak Mongolian, Yi, ... For the rest of us, it just provides more rope with which to hang ourselves.

For more thorough discouragement, see Elliotte Rusty Harold's book, Effective XML.
 
manitoba:

Those are not Unicode characters: that's the problem 1.1 was intended to address.
 
Like Manitoba says, there are no commercial products or parsers that support v1.1.

You should keep it in the back of your mind that it exists, but write code for v1.0

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
chiph:

but write code for v1.0

makes no sense: there is no "code." The only thing that must be done is to use the v1.0 declaration and not v1.1.
 
That's code. Sortof.
:-)

But it's important not to use any of the features in v1.1 until your tools can support it.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Thanks everybody.

Dazed and confused
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top