This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] problem with an URL


Sylvain Perchaud wrote:
Hello,

I'm currently writing a document about the latests software patents.
Unfortunately I can't transform my DocBook file since I've lots of URL
which contain "&Sect2" strings (see below for an example).

FOP returns :
" F The reference to entity "Sect2" must end with the ';' delimiter. "

<ulink                    url="http://patft.uspto.gov/netacgi/nph-Parser?
Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/
srchnum.htm&r=1&f=G&l=50&s1=6,704,772.WKU.&OS=PN/6,704,772&RS=PN/
6,704,772">US 6,704,772 - "Thread based email"</ulink>

How can I avoid this kind of problem ?



you need to escape (all) your ampersands in your url, otherwise it is interpreted as the beginning of an entity reference.
(http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&amp;Sect2=HITOFF&amp;d=...)


hth,
markus

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]