W3C home > Mailing lists > Public > www-validator@w3.org > December 2002

Re: Multiple xml declaration

From: Terje Bless <link@pobox.com>
Date: Tue, 3 Dec 2002 03:51:17 +0100
To: W3C Validator <www-validator@w3.org>
cc: Henri Fallon <henri@w3.org>
Message-ID: <a01060007-1022-1867F837066A11D7987A00039300CF5C@[193.157.66.10]>

Henri Fallon <henri@w3.org> wrote:

>it seems the validator doesn't detect multiple xml declaration [1].

This is one of the limitations in the XML support that are noted in result
pages (IOW, a known issue). The XML Parser we use (OpenSP) does not
restrict Processing Instructions with a target matching /[xX][mM][lL]/ as
required by the XML Recommendation.

Note that, AFAICT, what you have there is _not_ extraneous "XML
Declarations"! There can be only one such and the grammar restricts where
in the document it may appear. The later instances are merely generic
Processing Instructions with the target "xml".

Thanks for the feedback.

-- 
These are the same customers you are referring to whom Microsoft thought
would need MS Bob and the Talking Paperclip?   One thing is to give them
enough rope to hang themselves,  but a boobytrapped thermonuclear weapon
running on a rand(time) countdown... Is that really wise? - Me to MS rep.
Received on Monday, 2 December 2002 21:51:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:05 GMT