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

Re: We need SAX features to say a parser supports XML 1.1


Re:  We need SAX features to say a parser supports XML 1.1
On Fri, 2002-10-25 at 13:33, John Cowan wrote:
> Eric van der Vlist scripsit:
> 
> > XML 1.0 says:
> > 
> > "Since future versions are not ruled out, this construct is provided as
> > a means to allow the possibility of automatic version recognition,
> > should it become necessary."
> 
> That means that looking at the version number is sufficient to say
> what the version is. 

It's a strange thing to call automatic :-) ! but I guess that you can
consider that when I am writing "A", I am expecting readers to
automatically understand that it's a "A"...

>  Since XML 1.1 must declare the version, anything
> that doesn't declare the version is 1.0 by default.  

Yes. When I saw:

<q>
2.8 Prolog and Document Type Declaration

Change "1.0" everywhere to "1.1"
</q>

I was expecting the worse, and have been glad to read on:

<q>
4.3.4 Version Information in Entities [NEW]

.../...
If an entity (including the document entity) is not labeled with a
version number, it is treated as if labeled as version 1.0.
</q>

> There is no such thing as
> a document that is both WF 1.0 and WF 1.1 (though the great bulk of
> documents can be trivially converted by just changing the version
> declaration).

Right.

Thanks for the clarification.

Eric
-- 
Did you know it? Python has now a Relax NG (partial) implementation.
                                          http://advogato.org/proj/xvif/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


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.