discuss: proper escaping required was [ Re: docbookx.dtd needs work? ]
Subject:
proper escaping required was [ Re: docbookx.dtd needs work? ]
From:
"Martin A. Brown" ####@####.####
Date:
18 Jun 2004 10:43:12 -0000
Message-Id: <Pine.LNX.4.58.0406180537100.28158@copula.wonderfrog.net>
Good morning,
: I'm writing something in xml and embedding the following in the
: document:
:
: <para><ulink
: url="http://www.medialabasia.org/mlaShow.php?typeId=4&subTypeId=14">Digital Village</ulink></para>
:
: Neither nsgmls nor xmllint can stand it.
Neither can I! :)
That's because you are (unwittingly) including the leading character
of a general entity (the "&") without terminating the general entity
(with a ";"). In short, you have an entity which starts like this:
&subTypeId=14 ...
right in the middle of your url. Try replacing the ampersand with
the built-in entity for the ampersand: &
: Can any of suggest what I'm supposed to do with this? Does
: DocBook just naturally choke on URLs like this? Here's the top
Then re-run your parser. So, in one sense the answer is "yes".
DocBook generally chokes on URLs like this unless they are properly
escaped.
Best of luck!
-Martin
--
Martin A. Brown --- Wonderfrog Enterprises --- ####@####.####