xsl-list
[Top] [All Lists]

Re: [xsl] passing element to function having an 'xs:anyAtomicType?' parameter

2008-02-23 09:07:15
"Martin" == Martin Honnen <Martin(_dot_)Honnen(_at_)gmx(_dot_)de> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>