[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
>>>>> "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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|