OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Linking


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="../../lib//kindle/git.txt"?>
> 
> 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]