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

Re: Prefixes and serializing XML

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 29 Apr 2009 22:13:08 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0904292212130.829@hixie.dreamhostps.com>
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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 29 April 2009 22:13:43 UTC

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