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] Saxon 8.8 and attributes


Indeed, it is a bug to add an attribute after you have added a child to the 
output.  However, in practice those two if statements are mutually 
exclusive, which is why no one ever reported it before.  Saxon 8.8 is very 
carefully checking, though, so I went ahead and reversed the order.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Stefan Heuer" <sh127@gmx.de>
To: "apps docbook" <docbook-apps@lists.oasis-open.org>
Sent: Thursday, September 07, 2006 5:20 AM
Subject: [docbook-apps] Saxon 8.8 and attributes


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hallo,
>
> I've tried to use the new Saxon 8.8 processor with the docbook xsl
> stylesheets.
>
> All works fine with Saxon 6.5.5 and 8.7.3. But version 8.8 complained:
>    [java] Warning: at xsl:stylesheet on line 8 of
> file:/D:/workspace/UserManual/xsl/docbook-xsl-1.70.1/fo/docbook.xsl:
>    [java] Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
>    [java] Error on line 655 of
> file:/D:/workspace/UserManual/xsl/docbook-xsl-1.70.1/fo/component.xsl:
>    [java] XTDE0410: Cannot create an attribute node after creating a
> child of the containing element
>    [java] Failed to compile stylesheet. 1 error detected.
>
> I looked at the changelog of saxon. There is written about this error
> message.
>
> It could be avoid when you exchange the if blocks in "component.xsl"
> from line 656-662 and 664-672.
>
> Regards
>                Stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFAA52irQ0Ts08AdMRAllPAJ0WWwF67mUUoClJ34wYKRR9jPNMaQCfYt31
> MCXbLuiqF9IMlrwxigNVjD8=
> =9lJm
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




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