For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > February 2006 > XSL Exception in C#









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XSL Exception in C#
Tom Clancy

2006-02-24, 7:00 pm

I'm trying to transform an XML document via XSL and getting the
following exception (which Google has never heard of):

"Extension function parameters or return values which have Clr type
'ConcatString' are not supported."

It's entirely possible I have a dumb typo in there, but both the XML
and XSL are from an ASP/ VBScript application we're porting and they
work fine there.

tclancy@gmail.com

2006-02-24, 7:00 pm

Probably should have added my question: what would cause this? I can't
find any documentation for it, so any pointers to that would be
appreciated as well. I'm running framework 2.0 on XP Pro.

Thanks

tclancy@gmail.com

2006-02-24, 7:00 pm

Running a user-defined function like this caused the puking:

user:functionName(string(@attr))

Kevin Spencer

2006-02-24, 7:00 pm

What is the return type of the function?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A brute awe as you,
a Metallic hag entity, eat us.


"Tom Clancy" <tclancy@gmail.com> wrote in message
news:1140792240.766936.61420@p10g2000cwp.googlegroups.com...
> I'm trying to transform an XML document via XSL and getting the
> following exception (which Google has never heard of):
>
> "Extension function parameters or return values which have Clr type
> 'ConcatString' are not supported."
>
> It's entirely possible I have a dumb typo in there, but both the XML
> and XSL are from an ASP/ VBScript application we're porting and they
> work fine there.
>



tclancy@gmail.com

2006-02-28, 7:02 pm

There isn't one specified. It's written as inline JavaScript in the
XSL. It's supposed to return a string, but there's no strong typing
(given the language).

Kevin Spencer

2006-02-28, 7:03 pm

Can you post the XSL? It's hard to telll from your description what's going
on.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A brute awe as you,
a Metallic hag entity, eat us.


<tclancy@gmail.com> wrote in message
news:1141140244.131822.273460@p10g2000cwp.googlegroups.com...
> There isn't one specified. It's written as inline JavaScript in the
> XSL. It's supposed to return a string, but there's no strong typing
> (given the language).
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com