[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: passing element to function having an 'xs:anyAtom

Subject: Re: passing element to function having an 'xs:anyAtomicType?' parameter
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Feb 2008 16:06:44 +0000
Re:  passing element to function having an  'xs:anyAtom
>>>>> "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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.