[uf-dev] parsing question
Bjoern Hoehrmann
derhoermi at gmx.net
Fri Jan 12 05:11:32 PST 2007
* Brian Suda wrote:
>I have just tried and you are correct, X2V does actually extract what
>is inside i tested with:
>
><![CDATA[
> a + b ;
>]]>
>
>the other problem with the original example is that the '<' are not
>escaped so as XML xsltproc throws plenty of errors, but changing the
>CDATA to just "a+b ;" does actually work.
This sounds like you are using xsltproc so that it treats the document
as HTML document; it should probably process it as XML unless it happens
to use CDATA sections *and* is not well-formed.
>Is this the expected behavior? if so, X2V works :)
For the other bits, yes, this behavior is expected.
--
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
More information about the microformats-dev
mailing list