W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2009

Re: [docbook-apps] lost in namespaces (and invalid Atom feed)

From: Jirka Kosek <jirka@kosek.cz>
Date: Tue, 07 Apr 2009 19:29:50 +0200
Message-ID: <49DB8D8E.6030700@kosek.cz>
To: Matej Cepl <mcepl@redhat.com>
CC: docbook-apps@lists.oasis-open.org, www-xsl-fo@w3.org, atom-syntax@imc.org
Matej Cepl wrote:

> How come
> 
> <div xmlns="http://www.w3.org/1999/xhtml">
> 
> is undefined content element, when it is in well defined
> namespace?

I think that for XHTML content inside Atom you have to change

    <atom:content type="html" xml:lang="en">

to

    <atom:content type="xhtml" xml:lang="en">

IIRC, type="html" expects escaped HTML.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Tuesday, 7 April 2009 17:30:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 7 April 2009 17:30:35 GMT