XSLT encoding ??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • resolutionsnet

    #1

    XSLT encoding ??

    Hi,

    I raised as message earlier in this forum with regards to an error when
    preforming a XSLT transform (see bottom of this message).

    On further investigation I'm find that some of the XSLT file have an
    namespace for encoding i.e.
    <xsl:styleshe et xmlns:xsl='http ://www.w3.org/1999/XSL/Transform'
    xmlns:e="http://xxx.co.uk/xxx" xmlns:msxsl='ur n:schemas-microsoft-com:xslt'
    xmlns:var='urn: var' xmlns:userJScri pt='urn:userJSc ript'
    exclude-result-prefixes='msxsl var userJScript DateHelper e'
    xmlns:DateHelpe r="urn:extn-obj" version='1.0'>

    and the elements are being referenced as such e.g.
    <xsl:if test='e:street' ><Address1><xsl :value-of
    select='e:stree t/text()'/></Address1></xsl:if>

    Could this somehow have an affect on the below message


    Previous Message
    ============
    Whilst performing a simple XLST transform, I am receiving a
    CryptographicEx ception. No encryption is being used by the program itself.
    At present I have found no pattern into reproducing the error, seemingly
    random but often.

    The stack trace is as follows;

    System.Security .Cryptography.C ryptographicExc eption : The parameter is
    incorrect.
    System.Security .Cryptography.C ryptographicExc eption: The parameter is
    incorrect.
    at System.Security .Policy.PolicyL evel.GenericRes olve(Evidence evidence,
    Boolean& allConst)
    at System.Security .Policy.PolicyL evel.Resolve(Ev idence evidence, Int32
    count, Char[] serializedEvide nce)
    at System.Security .PolicyManager. Resolve(Evidenc e evidence, PermissionSet
    request)
    at System.Security .SecurityManage r.ResolvePolicy (Evidence evidence)
    at System.Xml.Xsl. Compiler.Compil e(NavigatorInpu t input, XmlResolver
    xmlResolver, Evidence evidence)
    at System.Xml.Xsl. XslTransform.Co mpile(XPathNavi gator stylesheet,
    XmlResolver resolver, Evidence evidence)
    at System.Xml.Xsl. XslTransform.Lo ad(XPathNavigat or stylesheet, XmlResolver
    resolver, Evidence evidence)
    at System.Xml.Xsl. XslTransform.Lo ad(XmlReader stylesheet, XmlResolver
    resolver, Evidence evidence)


    Could anyone point out any possible areas where I could investigate, i.e.
    Would SSL have an affect, would the XSLT encoding uft-8 instead of uft-16 be
    an issue

Working...