CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 11/29/2006 11:28:32 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 279 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
georgerobinson
Asp.Net User
Trying to debug xslt, getting the error Cannot find the script or external object that implements prefix11/29/2006 11:28:32 AM

1

I have a 2003 project with some extension objects that I call in my xslt.  I load up the document in the 2005 and use the debugger and it works great.  However when it get to the part of my xslt that references the extension I receive the following exception:

 Cannot find the script or external object that implements prefix

 Here is my xslt with the result exception details.  The xslt does work.  I just get the exception when debugging.  Could it be because its referencing a 1.1 dll?  Is there a way around this.

 

<?

xml version="1.0" encoding="UTF-8"?>

<!

DOCTYPE xsl:Stylesheet [

<!

ENTITY nbsp "&#x00A0;">

]>

<

xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:msxml="urn:schemas-microsoft-com:xslt"

xmlns:umbraco.library="urn:umbraco.library"

exclude-result-prefixes="msxml umbraco.library">

<

xsl:output method="xml" omit-xml-declaration="yes"/>

<

xsl:variable name="maxLevelForSitemap" select="2"/>

<

xsl:param name="currentPage"/>

<

xsl:template match="/">

<

div class="divBlock">

<

a href="/">

<!--

<xsl:if test="$currentPage/@id=@id">

<xsl:attribute name="style">font-weight:bold;</xsl:attribute>

</xsl:if>

-->

<

img src="/images/doc.gif" alt="" style="margin:0px 2px 0px 2px;"/> Home

</

a>

</

div>

 

 

<

xsl:call-template name="drawNodes">

<

xsl:with-param name="parent" select="umbraco.library:GetXmlNodeById(1052)/ancestor-or-self::node [@level=1]"/>

</

xsl:call-template>

 

 

</

xsl:template>

 

 

<

xsl:template name="drawNodes">

<

xsl:param name="parent"/>

<

div class="sidemenu">

<

xsl:for-each select="$parent/node [string(./data [@alias='umbracoNaviHide']) != '1']">

 

 

<

xsl:choose>

<

xsl:when test="count(./node [string(./data [@alias='umbracoNaviHide']) != '1']) = 0">

<

div class="divBlock">

<

a href="{umbraco.library:NiceUrl(@id)}">

<

img src="/images/doc.gif" alt="" style="margin:0px 2px 0px 2px;"/>

</

a>

<

a href="{umbraco.library:NiceUrl(@id)}">

<

xsl:if test="$currentPage/@id=@id">

<

xsl:attribute name="style">font-weight:bold;</xsl:attribute>

</

xsl:if>

<

xsl:value-of select="@nodeName" />

</

a>

</

div>

</

xsl:when>

 

 

<!--

Top node -->

<

xsl:otherwise>

<

div class="divBlock">

<

xsl:if test="$currentPage/@id=@id">

<

xsl:attribute name="style">font-weight:bold;</xsl:attribute>

</

xsl:if>

<

a id="x{@id}" href="javascript:Toggle('{@id}');">

<

img src="/images/plus.gif" alt="" style="margin:0px 2px 0px 2px;"/>

</

a>

<

a href="{umbraco.library:NiceUrl(@id)}">

<

xsl:value-of select="@nodeName" />

</

a>

</

div>

 

 

<

div id="{@id}" style="display:none;margin-left:12px;">

<

xsl:for-each select="./descendant::* [string(./data [@alias='umbracoNaviHide']) != '1']">

<

xsl:if test="$currentPage/@id=@id">

<

xsl:attribute name="style">margin-left:12px;</xsl:attribute>

</

xsl:if>

</

xsl:for-each>

<

xsl:call-template name="drawNodes">

<

xsl:with-param name="parent" select="."/>

</

xsl:call-template>

</

div>

 

 

</

xsl:otherwise>

</

xsl:choose>

</

xsl:for-each>

</

div>

 

 

</

xsl:template>

 

 

 

 

</

xsl:stylesheet>

 

 

 

 

System.Xml.Xsl.XslTransformException was unhandled by user code
  Message="Cannot find the script or external object that implements prefix 'urn:umbraco.library'."
  Source="System.Data.SqlXml"
  LineNumber=0
  LinePosition=0
  StackTrace:
       at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
       at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces) in C:\Inetpub\wwwroot\umbraco21\xslt\LeftNav.xslt:line 40
       at System.Xml.Xsl.CompiledQuery.Query.<xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
       at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
       at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
       at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
       at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)
       at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)
       at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
       at Microsoft.Xsl.XslPlugin.Execute(String xml, Stream output)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
XSLT Cannot find the script or external object that implements ... The following is a snip from my xslt file where I am trying to format my date. The error I receive is Cannot find the script or external object that ... is Cannot find the script or external object that implements prefix 'ms' .... I couldn't find the files debug.xslt and threadtimes.xslt to view the ...
Trying to debug xslt, getting the error Cannot find the script or ... Cannot find the script or external object that implements prefix .... IList`1 { urn:schemas-microsoft-com:xslt-debug}namespaces) in ...
SharePoint User Group UK - XslTransformException: Cannot find the ... Exception when trying to transform the xml file: System.Xml.Xsl. XslTransformException: Cannot find the script or external object that implements prefix ...
Cannot find the script or external object that implements prefix ... Exception Details: System.Xml.Xsl.XsltException: Cannot find the script or external object that implements prefix 'counter'. Source Error: ...
" Cannot find the script or external object that implements prefix ... ... in my xslt file, it comes up with the following error message : 'Cannot find the script or external object that implements prefix 'fn'. ...

Trying to debug xslt, getting the error Cannot find the script or ... Trying to debug xslt, getting the error Cannot find the script or external object that implements prefix, > ROOT > NEWSGROUP > Asp.Net Forum ...












multiple browser support

how to show web form designer generated code

waiting... waiting... for pro trial cd

"warning: cannot debug script code. incorrect function."

auto generated code issue

problem with vs 2005: quick find ctrl + f, quick replace ctrl + h, etc.

web deployment using 'web setup project'

team foundation question

keyboard problem and help

referring to other files without projects

error in web.config after building in asp.net 2.0 final

constantly getting configure message asp.net 2.0

90 day trial of vs 2005

ms access membership provider for asp.net 2.0

properties window not displayed in ide. how to fix this ?

how the app_offline.htm file comes into my my application root directory?

error installting msdn for vs 2005

performance w/ aspnet_merge.exe?

visual studio 2005 design view issue

error: cannot save files to web server

memberadministration in vwd

is there a training video for vsto 2005 on ms word 2003?

visual studio 2005 - new solution and project

optimal project size

asp.net development server serves images as "application/octet-stream" content type

interfaces

compilation error - no relevant source lines

where to locate a shared development folder

using "throw" in debug causes a dialog box

build failed, but no errors?

   
  Privacy | Contact Us
All Times Are GMT