[Mono-list] Mono XSLT classes choke on Docbook stylesheets

Arild Fines arildfi@ifi.uio.no
Sun, 28 Nov 2004 17:40:25 +0100 (CET)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---259929274-1889229071-1101660025=:19137
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

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
---259929274-1889229071-1101660025=:19137
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=stacktrace
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.61.0411281740250.19137@burgio.ifi.uio.no>
Content-Description: Stack trace
Content-Disposition: attachment; filename=stacktrace

U3lzdGVtLlhtbC5YUGF0aC5YUGF0aEV4Y2VwdGlvbg0KU3lzdGVtLlhtbA0K
aW4gPDB4MDAwYWY+IFN5c3RlbS5YbWwuWFBhdGguQ29tcGlsZWRFeHByZXNz
aW9uOkV2YWx1YXRlIChTeXN0ZW0uWG1sLlhQYXRoLkJhc2VJdGVyYXRvcikN
CmluIDwweDAwMGJjPiBTeXN0ZW0uWG1sLlhQYXRoLlhQYXRoTmF2aWdhdG9y
OkV2YWx1YXRlIChTeXN0ZW0uWG1sLlhQYXRoLlhQYXRoRXhwcmVzc2lvbixT
eXN0ZW0uWG1sLlhQYXRoLlhQYXRoTm9kZUl0ZXJhdG9yLFN5c3RlbS5YbWwu
WG1sTmFtZXNwYWNlTWFuYWd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