[Mono-list] Mono XSLT classes choke on Docbook stylesheets
Atsushi Eno
atsushi@ximian.com
Mon, 29 Nov 2004 12:12:22 +0900
Hi,
Please file a bug in bugzilla, with how to obtain "the latest
docbook stylesheets" that you tried (or the stylesheet itself),
document instance you fed, and code you ran. Also we need which version
of mono you are running (the latest DTD parser stuff is implemented
as to provide BaseURI as you expected && unlike MS implementation).
http://bugzilla.ximian.com/
Actually it looks like rather DTD parser problem than XSLT problem.
Atsushi Eno
Arild Fines wrote:
> [This is a resend, since I originally sent from a non-subscribed acct]
> When attempting to run Mono's XSL processor with a simple docbook document
> and the latest docbook stylesheets, mono merely errors out with the
> following message:
>
> an attribute value was not quoted Line 18, position 25.
>
> This message isn't all that useful by itself (putting a filename in there
> would help, y'know...), but I finally managed to track it down to this
> item in common/l10n.dtd(in the docbook tree):
>
> <!ATTLIST %i18n;
> %xmlns; CDATA #FIXED %uri;
>
>
> Line 18, column 25 corresponds to the # in #FIXED. The stack
> trace(attached) indicates that the error originates in
> mcs/class/System.XML/System.Xml/DTDReader.cs:ReadDefaultAttribute.
>
> The Microsoft implementation does not have this (particular) problem with
> the Docbook stylesheets. xsltproc handles it just fine.
>
> --
> Arild
>
> AnkhSVN, Subverting Visual Studio .NET: http://ankhsvn.tigris.org
> Blog: http://ankhsvn.com/blog
> IRC: irc://irc.freenode.net/ankhsvn
>
> "Gentlemen, you can't fight in here! This is the war room!"
>
>