Re: [xml] xmllint not working with cdata as I expect...

On Mon, Feb 17, 2003 at 04:54:22PM -0800, Ben wrote:
Hi guys, I'm fairly new to XML and xmllint, so maybe this is a stupid
question, but I'm having trouble validating some XML against my DTD.
Basically, I've got a CDATA section into which I'm trying to put an '&',
and xmllint is choking on it. According to what I understand, & is a
perfectly valid character in a CDATA section. A snippet of my XML is:

  You misunderstood the specification, & must be escaped in element
defined as CDATA.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]