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

From
Jirka Kosek <>
Date
2009-04-07T17:30:02+00:00
ID
Thread
Re: [docbook-apps] lost in namespaces (and invalid Atom feed)
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:       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
------------------------------------------------------------------