Your message dated Sun, 11 Nov 2018 21:26:07 +0100
with message-id <2588.1541967967@tremalking>
has caused the report #904675,
regarding Need to escape # in url within <legalnotice>
to be marked as having been forwarded to the upstream software
author(s) "Benoit Guillon" <[email protected]>
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
904675: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904675
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi BenoƮt,
I want to inform you about dblatex Debian BTS report #904675 [1]:
dblatex breaks on # characters in url attributes inside legalinfo
blocks, e.g. in legalnotice/simparaulink/@url, compare minimal example
[2]. I'd suggest something like patch [3], what do you think?
[1] https://bugs.debian.org/904675
[2]
<?xml version="1.0"?>
<!DOCTYPE article
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article lang="en">
<title># characters in URLs within legalnotice</title>
<articleinfo>
<legalnotice>
<simpara>
<ulink url="https://www.debian.org/doc/devel-manuals#debmake-doc">
Debian Documentation web site
</ulink>
</simpara>
</legalnotice>
</articleinfo>
<simpara>
Critical construct: # character within
<code>legalnotice/simpara/ulink/@url</code>
</simpara>
</article>
[3]
Author: Andreas Hoenen <[email protected]>
Description: Hotfix for BTS report #904675:
Treat legalnotice blocks like other blocks: escape # characters in url attributes.
--- a/xsl/xref.xsl
+++ b/xsl/xref.xsl
@@ -225,7 +225,8 @@
<xsl:with-param name="string">
<xsl:choose>
<xsl:when test="$escape != 0 or ancestor::entry or ancestor::revision or
- ancestor::footnote or ancestor::term">
+ ancestor::footnote or ancestor::term or
+ ancestor::legalnotice">
<xsl:call-template name="string-replace">
<xsl:with-param name="string">
<xsl:call-template name="string-replace">
Regards, Andreas
--
Andreas Hoenen <[email protected]>
GPG: 1024D/B888D2CE
A4A6 E8B5 593A E89B 496B
82F0 728D 8B7E B888 D2CE
signature.asc
Description: PGP signature
--- End Message ---