Subject: Re: [xsl] passing element to function having an 'xs:anyAtomicType?' parameter From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: Sat, 23 Feb 2008 16:06:44 +0000 |
>>>>> "Martin" == Martin Honnen <Martin.Honnen@xxxxxx> writes: Martin> Error in XPath 2.0 expression at as C:\path\sheet.xml Line Martin> 10, Character 29 Martin> Type error, value does not match a required type as Martin> specified by the matching rules in 2.5.4 SequenceType Martin> Matching. - 'xs:anyAtomicType?' Martin> Line 10 is <xsl:param name="date" as="xs:anyAtomicType?"/> Martin> so, as far as I understand it, Altova complains about Martin> passing in an element to the function having an Martin> 'xs:anyAtomicType?' parameter. Martin> What do you think, is that a bug in AltovaXML? Looks like it to me. The type should be xs:untypedAtomic (assuming no validation), which is a subtype of xs:anyAtomicType. -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] passing element to function h, Martin Honnen | Thread | Re: [xsl] passing element to functi, Abel Braaksma |
[xsl] passing element to function h, Martin Honnen | Date | [xsl] key( 'myKey', 'key', $current, Johannes Neubauer |
Month |