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] Are HTML chunk targets equivalent to XHTML chunktargets for olinking?


On Fri, Feb 25, 2011 at 1:43 PM, Bob Stayton <bobs@sagehill.net> wrote:
>
> It is possible to get the XHTML stylesheet working with olinks.  I'm curious about the "Invalid byte" error, which sounds like an encoding mismatch somewhere.

It was an encoding problem. Thanks for pointing that out. I got it to
work by adding the encoding argument to my Ant replace task
invocation:

<replace file="${output.base.path.build}targets/${current.docid}Targetswebhelp.db"
               token="&lt;!DOCTYPE div"
               value=""
               encoding="utf-8" />
<replace file="${output.base.path.build}targets/${current.docid}Targetswebhelp.db"
               token="PUBLIC &#34;-//W3C//DTD XHTML 1.0
Transitional//EN&#34;
&#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&gt;";
               value=""
               encoding="utf-8" />

Peter Desjardins


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