[MonoDevelop] XSLT Compile Errors
Liam (Kamatsu)
whiteslug at gmail.com
Sat Mar 1 05:20:43 EST 2008
Okay I got Monodevelop SVN to compile using the repositories you
recommended for Mono, and it seems to run okay.
The reason I wanted to upgrade was I started getting "XSLT Compile
Errors", disabling the designer, whenever I tried to make a custom
widget for use in my program. I read in the bugzilla that this was fixed
in SVN.
The new SVN version seems to at least load the designer right.
Now, however, whenever I try and build my project, it hangs when trying
to generate GUI code... here's the important output..
--snip--
System.Xml.Xsl.XsltCompileException: XSLT compile error. Named template
GtkTable_fixoptions is already registered.. --->
System.InvalidOperationException: Named template GtkTable_fixoptions is
already registered.
at Mono.Xml.Xsl.XslTemplateTable.Add (Mono.Xml.Xsl.XslTemplate
template) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.HandleTopLevelElement
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000] --- End of inner exception stack trace ---
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000]
at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.XPathNavigator
stylesheet, System.Xml.XmlResolver resolver,
System.Security.Policy.Evidence evidence) [0x00000]
at System.Xml.Xsl.XslTransform.Load (IXPathNavigable stylesheet,
System.Xml.XmlResolver resolver, System.Security.Policy.Evidence
evidence) [0x00000]
at Stetic.Registry.UpdateGladeTransform () [0x00000]
at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
System.Xml.Xsl.XsltCompileException: XSLT compile error. Named template
GtkTable_fixoptions is already registered.. --->
System.InvalidOperationException: Named template GtkTable_fixoptions is
already registered.
at Mono.Xml.Xsl.XslTemplateTable.Add (Mono.Xml.Xsl.XslTemplate
template) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.HandleTopLevelElement
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000] --- End of inner exception stack trace ---
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000]
at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.XPathNavigator
stylesheet, System.Xml.XmlResolver resolver,
System.Security.Policy.Evidence evidence) [0x00000]
at System.Xml.Xsl.XslTransform.Load (IXPathNavigable stylesheet,
System.Xml.XmlResolver resolver, System.Security.Policy.Evidence
evidence) [0x00000]
at Stetic.Registry.UpdateGladeTransform () [0x00000]
at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
System.Xml.Xsl.XsltCompileException: XSLT compile error. Named template
GtkTable_fixoptions is already registered.. --->
System.InvalidOperationException: Named template GtkTable_fixoptions is
already registered.
at Mono.Xml.Xsl.XslTemplateTable.Add (Mono.Xml.Xsl.XslTemplate
template) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.HandleTopLevelElement
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000] --- End of inner exception stack trace ---
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000]
at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.XPathNavigator
stylesheet, System.Xml.XmlResolver resolver,
System.Security.Policy.Evidence evidence) [0x00000]
at System.Xml.Xsl.XslTransform.Load (IXPathNavigable stylesheet,
System.Xml.XmlResolver resolver, System.Security.Policy.Evidence
evidence) [0x00000]
at Stetic.Registry.UpdateGladeTransform () [0x00000]
at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
System.Xml.Xsl.XsltCompileException: XSLT compile error. Named template
GtkTable_fixoptions is already registered.. --->
System.InvalidOperationException: Named template GtkTable_fixoptions is
already registered.
at Mono.Xml.Xsl.XslTemplateTable.Add (Mono.Xml.Xsl.XslTemplate
template) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.HandleTopLevelElement
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000] --- End of inner exception stack trace ---
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000]
at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.XPathNavigator
stylesheet, System.Xml.XmlResolver resolver,
System.Security.Policy.Evidence evidence) [0x00000]
at System.Xml.Xsl.XslTransform.Load (IXPathNavigable stylesheet,
System.Xml.XmlResolver resolver, System.Security.Policy.Evidence
evidence) [0x00000]
at Stetic.Registry.UpdateGladeTransform () [0x00000]
at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
System.Xml.Xsl.XsltCompileException: XSLT compile error. Named template
GtkTable_fixoptions is already registered.. --->
System.InvalidOperationException: Named template GtkTable_fixoptions is
already registered.
at Mono.Xml.Xsl.XslTemplateTable.Add (Mono.Xml.Xsl.XslTemplate
template) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.HandleTopLevelElement
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000] --- End of inner exception stack trace ---
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000]
at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.XPathNavigator
stylesheet, System.Xml.XmlResolver resolver,
System.Security.Policy.Evidence evidence) [0x00000]
at System.Xml.Xsl.XslTransform.Load (IXPathNavigable stylesheet,
System.Xml.XmlResolver resolver, System.Security.Policy.Evidence
evidence) [0x00000]
at Stetic.Registry.UpdateGladeTransform () [0x00000]
at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
System.Xml.Xsl.XsltCompileException: XSLT compile error. Named template
GtkTable_fixoptions is already registered.. --->
System.InvalidOperationException: Named template GtkTable_fixoptions is
already registered.
at Mono.Xml.Xsl.XslTemplateTable.Add (Mono.Xml.Xsl.XslTemplate
template) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.HandleTopLevelElement
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements
(Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c) [0x00000]
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000] --- End of inner exception stack trace ---
at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
[0x00000]
at System.Xml.Xsl.XslTransform.Load (System.Xml.XPath.XPathNavigator
stylesheet, System.Xml.XmlResolver resolver,
System.Security.Policy.Evidence evidence) [0x00000]
at System.Xml.Xsl.XslTransform.Load (IXPathNavigable stylesheet,
System.Xml.XmlResolver resolver, System.Security.Policy.Evidence
evidence) [0x00000]
at Stetic.Registry.UpdateGladeTransform () [0x00000]
at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary
library) [0x00000]
---snip---
So it appears like the exact same problem persists.
Any ideas how to fix this problem?
~Liam
Michael Hutchinson wrote:
> On Fri, Feb 29, 2008 at 7:33 AM, Liam (Kamatsu) <whiteslug at gmail.com> wrote:
>
>> Hi, I posted this before I joined the list, and I figured I'd post it
>> again with the correct email this time
>>
>> I've been trying to compile MonoDevelop from SVN on my Ubuntu Gutsy 7.10
>> installation.
>>
>> I've gotten pretty far but have hit a stumbling block. MonoDevelop will
>> ./configure okay, producing makefiles and such, but when I go to make,
>> it eventually carks out with:
>>
>> /usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll
>> (Location of the symbol related to previous
>> warning),./MonoDevelop.Ide.Gui/DocumentSwitcher.cs(72,33): error CS0246:
>> The type or namespace name `TreeIter' could not be found. Are you
>> missing a using directive or an assembly
>> reference?,./MonoDevelop.Ide.Gui/DocumentSwitcher.cs(74,41): error
>> CS0246: The type or namespace name `Pad' could not be found. Are you
>> missing a using directive or an assembly
>>
> <...>
>
>> Any ideas as to what I'm doing wrong?
>>
>
> Assuming you're using Mono 1.2.4, it's probably the bug with that
> particular gmcs C# compiler version where "using" statements are
> ignored inside anonymous delegates. It will be fixed if you upgrade to
> a newer Mono, but if you're installing from source see
> http://mjhutchinson.com/journal/2007/11/08/how_not_break_mono first,
> and try to find packages if you can, e.g.
> http://www.viraptor.info/repo.
>
> To fix it with Mono 1.2.4, just fully qualify the type names wherever
> this happens, e.g. Gtk.TreeIter instead of TreeIter. We'd be happpy
> to commit a patch :-)
>
>
More information about the Monodevelop-list
mailing list