Daffodil does support the lower-case function, but you need to be explicit about the namespace. So you need to define
xmlns:fn="http://www.w3.org/2005/xpath-functions" and use the namespace prefix when calling the function, e.g. if (fn:lower-case(...)) ... On 11/7/18 2:51 PM, Costello, Roger L. wrote: > Hello DFDL community, > > In the below snippet I use the XPath lower-case() function. I discovered, > however, that Daffodil doesn't support lower-case(). Is there an alternative? > /Roger > > <xs:element name='signature' type='xs:string' dfdl:inputValueCalc='{ > if (lower-case(xs:string(../Hidden_signature)) eq "5a4d") then "Portable > Executable (PE) file" > else xs:string(../Hidden_signature) > }' /> >
