W3C home > Mailing lists > Public > public-html@w3.org > April 2009

Re: Prefixes and serializing XML

From: Simon Pieters <simonp@opera.com>
Date: Thu, 30 Apr 2009 08:05:55 +0200
To: "Ian Hickson" <ian@hixie.ch>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.us6q75egidj3kv@zcorpandell.linkoping.osa>
On Thu, 30 Apr 2009 00:13:08 +0200, Ian Hickson <ian@hixie.ch> wrote:

> On Wed, 29 Apr 2009, Simon Pieters wrote:
>>
>> The spec says:
>>
>> "User agents may adjust prefixes and namespace declarations in the
>> serialization (and indeed might be forced to do so in some cases to
>> obtain namespace-well-formed XML)."
>>
>> "If any of the following error cases are found in the DOM subtree being
>> serialized, then the algorithm raises an INVALID_STATE_ERR exception
>> instead of returning a string:"
>>
>> "A node with a prefix or local name containing a U+003A COLON (":")."
>
> Fair enough.
>

-   <li>A node with a prefix or local name containing a U+003A COLON
-   (":").</li>
+   <!--<li>A node with a prefix or local name containing a U+003A
+   COLON (":").</li> (prefixes can get adjusted, so this isn't an
+   excuse) -->

You can't adjust the local name, so that part should remain.

-- 
Simon Pieters
Opera Software
Received on Thursday, 30 April 2009 06:06:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:03 UTC