[Mono-list] prototype XSLT debugging patch ...

Peter Vandenabeele peter at vandenabeele.com
Mon Nov 27 05:31:07 EST 2006


On 11/24/06, Michael Meeks <michael.meeks at novell.com> wrote:
>         Patch attached, what do you think ? I'll try to catch you tomorrow on
> IRC to chew it over (?) :-)

The patch basically works.

One slight detail might be that trying to apply the patch on the
mono-1.2.20061127 svn checkout tarball yielded this result:

user at debian-sid-MONO-001:~/ODF/Add-in/mono-HEAD-PATCH-003/mono-patch-003/mono-1.2.20061127/mcs$
patch -p0 < ../../../patch-mmeeks-2006-11-24
patching file class/System.XML/System.Xml.Xsl/XsltException.cs
Hunk #1 FAILED at 64.
Hunk #2 FAILED at 133.
Hunk #3 FAILED at 161.
3 out of 3 hunks FAILED -- saving rejects to file
class/System.XML/System.Xml.Xsl/XsltException.cs.rej
patching file class/System.XML/Mono.Xml.Xsl/XslStylesheet.cs
patching file class/System.XML/Mono.Xml.Xsl/XslTemplate.cs

2 out of 3 patch files just worked.

I checked the XsltException.cs file manually and all diffs seemed to be at the
exact line numbers ... I applied the patch by hand (with vim) and all seemed
to work (maybe a detail regarding level of indent or spaces/tabs ...).

The resulting mono environment now allows more detailed debugging.

Thanks,

Peter


More information about the Mono-list mailing list