<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3"/><id>http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3/comments.atom</id><updated>2012-05-24T00:05:58.62493Z</updated><entry><title>Comment 1 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2011-12-01T18:18:17Z</published><updated>2011-12-01T18:18:17Z</updated><author><name>Keith Fahlgren</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>It'd be interesting to see a couple of sample documents
published using the old stylesheets and the new release just to
compare the markup.</p></div></content></entry><entry><title>Comment 2 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2011-12-01T19:05:33Z</published><updated>2011-12-01T19:05:33Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Good point. See <a href="https://gist.github.com/1419047">this
gist</a>.</p></div></content></entry><entry><title>Comment 3 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2011-12-01T19:09:00Z</published><updated>2011-12-01T19:09:00Z</updated><author><name>Dave Pawson</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Are the website stylesheets getting to 'production' standard yet
Norm? Thinking of moving the docbook faq over to them?</p></div></content></entry><entry><title>Comment 4 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0004"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0004</id><published>2011-12-02T12:57:46Z</published><updated>2011-12-02T12:57:46Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><em>I'm</em> using them in production. For what it's worth.</p></div></content></entry><entry><title>Comment 5 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0005"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0005</id><published>2012-02-01T10:34:24Z</published><updated>2012-02-01T10:34:24Z</updated><author><name>Maxime Bégnis</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Hi there,</p>
<p>I was having a problem transforming documents(I tried two) using
SaxonHE9-4-0-2J:</p>
<pre>
Error on line 71 of xlink.xsl:
  XPTY0004: A sequence of more than one item is not allowed as the first argument of
  generate-id() (, ) 
  at xsl:apply-templates (file:////.../.../docbook-xslt2-2.0.3/xslt/base/html/chunktemp.xsl#79)
     processing /book/chapter[2]
</pre>
<p>I fixed it by changing line 58 of xlink.xsl:</p>
<pre>
<!-- Taking only the first para -->
&lt;xsl:variable name="para" select="ancestor::db:para[1]"/&gt;
</pre>
<p>From there it worked fine.</p>
<p>I noticed that the problem isn't there for saxonhe9-2-1-5j</p>
<p>Having HTML5 is just great, hope this helps</p></div></content></entry><entry><title>Comment 6 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0006"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0006</id><published>2012-02-01T13:13:36Z</published><updated>2012-02-01T13:13:36Z</updated><author><name>Maxime Bégnis</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Hi there,</p>
<p>I was having a problem transforming documents(I tried two) using
SaxonHE9-4-0-2J:</p>
<pre>
Error on line 71 of xlink.xsl:
  XPTY0004: A sequence of more than one item is not allowed as the first argument of
  generate-id() (, ) 
  at xsl:apply-templates (file:////.../.../docbook-xslt2-2.0.3/xslt/base/html/chunktemp.xsl#79)
     processing /book/chapter[2]
</pre>
<p>I fixed it by changing line 58 of xlink.xsl:</p>
<pre>
&lt;!-- Taking only the first para --&gt;
&lt;xsl:variable name="para" select="ancestor::db:para[1]"/&gt;
</pre>
<p>From there it worked fine.</p>
<p>I noticed that the problem isn't there for saxonhe9-2-1-5j</p>
<p>Having HTML5 is just great, hope this helps</p></div></content></entry><entry><title>Comment 7 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0007"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0007</id><published>2012-02-01T13:24:18Z</published><updated>2012-02-01T13:24:18Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Hi,</p>
<p>Thanks for the error report; could you please open an <a href="https://github.com/docbook/xslt20-stylesheets/issues">issue at
github</a> and include a sample document that demonstrates the
problem.</p>
<p>I think you're right, but I'd like to have a document for the
test suite.</p></div></content></entry><entry><title>Comment 8 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0008"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0008</id><published>2012-02-01T14:51:28Z</published><updated>2012-02-01T14:51:28Z</updated><author><name>Maxime Bégnis</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I just found out that the problem comes from itemized lists
wrapped in paragraphs...</p>
<p>https://github.com/docbook/xslt20-stylesheets/issues/6</p>
<p>I didn't find a way to attach a file to the issue, sorry for the
big paste.</p></div></content></entry><entry><title>Comment 9 on /2011/12/01/docbook-xslt2-2-0-3</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2011/12/01/docbook-xslt2-2-0-3#comment0009"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0009</id><published>2012-02-01T15:38:16Z</published><updated>2012-02-01T15:38:16Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Thanks. I'll take a look asap.</p></div></content></entry></feed>

