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

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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