Re: lost in namespaces (and invalid Atom feed)

Jirka Kosek <[email protected]> Tue, 07 Apr 2009 19:29:50 +0200
Newsgroups gmane.text.docbook.apps,gmane.text.xml.xsl.general,gmane.network.syndication.atom.syntax
Message-ID <[email protected]>
--------------enigFC7C3F612AEE34DFDC993132
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Matej Cepl wrote:

> How come
>=20
> <div xmlns=3D"http://www.w3.org/1999/xhtml">
>=20
> 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=3D"html" xml:lang=3D"en">

to

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

IIRC, type=3D"html" expects escaped HTML.

				Jirka

--=20
------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      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
------------------------------------------------------------------


--------------enigFC7C3F612AEE34DFDC993132
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ242PzwmSw7n0dR4RAuiKAKCGXyrciLPFFafhWj7a3u7f1sReRQCgnzp2
uafBTrSP+k77mIWS9EghYRA=
=a/pb
-----END PGP SIGNATURE-----

--------------enigFC7C3F612AEE34DFDC993132--