- From: Michael[tm] Smith <mike@w3.org>
- Date: Sat, 6 Aug 2011 21:36:54 +0900
- To: David Dorward <david@dorward.me.uk>
- Cc: Mole Note <info@molenote.com>, www-validator@w3.org
David Dorward <david@dorward.me.uk>, 2011-07-08 15:12 +0100: > > On 7 Jul 2011, at 06:12, Mole Note wrote: > > • Line 341, Column 42: Element name g:plusone cannot be represented as XML 1.0. > > This error message sounds like a bug. It's not an error, it's a warning. And it's emitted because the content is being served as HTML instead of with an XML MIME type, and HTML parsers don't know anything about namespaces -- to put it in XML terms, every element name is a local name -- and so in HTML, the literal name of that element is "g:plusone". And that name can't be represented in XML because XML doesn't allow colons in the local names. So the spirit of the warning is to say, In case you ever want to serve this content as XML instead of HTML, you have an element name in it that's not allowed in XML. --Mike -- Michael[tm] Smith http://people.w3.org/mike/+
Received on Saturday, 6 August 2011 12:37:02 UTC