Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 20:30:10 -0500
From:      Jacques Vidrine <nectar@FreeBSD.org>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-vuxml@freebsd.org
Subject:   Re: vuln.xml *is* XML (was Re: vuln.xml is not XML)
Message-ID:  <4C792F15-FAED-11D8-84D2-000A95BC6FAE@FreeBSD.org>
In-Reply-To: <20040830203241.V35009@xeon.unixathome.org>
References:  <20040830133416.X35009@xeon.unixathome.org> <7mk6vg2m15.wl@black.imgsrc.co.jp> <20040830203241.V35009@xeon.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Aug 30, 2004, at 7:34 PM, Dan Langille wrote:
> With CDATA, it works,

With CDATA, it breaks: some markup is incorrectly treated as text 
content.

> without, it fails and I have to treat every <p>,
> <em> and <blockquote> as a node, not markup.

without, it works perfectly.


That is exactly how it is supposed to work, Dan :-)  I guess I 
understand now what you are trying to accomplish.  If you want to stuff 
processed XML (i.e. an XML nodeset) into a database, you must first 
convert the nodeset into a character stream in the usual fashion.

Cheers,
-- 
Jacques A Vidrine / NTT/Verio
nectar@celabo.org / jvidrine@verio.net / nectar@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C792F15-FAED-11D8-84D2-000A95BC6FAE>