Next in thread → Next in month →

Re: [docbook-apps] Linking

From
Lars Vogel <>
Date
2011-11-17T00:49:46+00:00
ID
Thread
Re: [docbook-apps] Linking
Hi Tom,

great. Thanks. Works like a charm.

Best regards, Lars

2011/11/16 Thomas Schraitle <>

Hi Lars,

Am Mittwoch, 16. November 2011, 21:06:33 schrieb Lars Vogel:

> [...]

> http://rcm.amazon.com/e/cm?lt1=_blank&bc1=000000&IS2=1&npa=1&bg1=FFFFFF&fc1=

> 000000&lc1=0000FF&t=vogellade-20&o=1&p=8&l=as1&m=amazon&f=ifr&ref=tf_til&asi

> ns=B0067QNR56" style="width:120px;height:240px;" scrolling="no"

> marginwidth="0"

> marginheight="0" frameborder="0"></iframe>

>

> Unfortunaltely if I include this via the following:

>

> <?dbhtml-include href="">
>

> I recieve the error message:

>

> [xslt] : Warning! org.xml.sax.SAXParseException; systemId:

> file:/C:/Users/vogella/workspace/docu/output/lib//kindle/git.txt;

> lineNumber: 1; columnNumber: 55; unexpected character after entity

> reference (found "=") (expected ";") Cause: org.xml.sax.SAXParseException;

> systemId: file:/C:/Users/vogella/workspace/docu/output/lib//kindle/git.txt;

> lineNumber: 1; columnNumber: 55; unexpected character after entity

> reference (found "=") (expected ";")

>

> Any advice how to solve this?

I think your URL is the problem and your ampersand character:

  ...lt1=_blank&bc1...

Your XML parser expects after the "&" an entity name and tries to parse &bc1=.

which turns out to be incomplete (missing ";"). As this is not an entity, but

just the ampersand character, you to "mask" it like this:

  ...lt1=_blank&amp;bc1...

So every occurance of "&" becomes "&amp;". Hope this solves this issue.

--

Gruß/Regards

  Thomas Schraitle

---------------------------------------------------------------------

To unsubscribe, e-mail: 

For additional commands, e-mail: 

-- 
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
Next in thread → Next in month →