[ 
https://issues.apache.org/jira/browse/DAFFODIL-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Beckerle updated DAFFODIL-2629:
------------------------------------
    Description: 
I get a runtime SDE when I have a situation like this:


{code:java}
<element name="someElement" type="xs:int"/>
<sequence>
  <annotation>
    <appinfo source="http://www.ogf.org/dfdl/";>
      <dfdl:setVariable ref="f:someVar">{ dfdl:valueLength(someElement, 
"bytes") }</dfdl:setVariable>
    </appinfo>
  </annotation>
</sequence>
{code}
The runtime SDE (when parsing) is that message has no value length.

  was:
I get a runtime SDE when I have a situation like this:
```
          <element name="someElement" type="xs:int"/>
          <sequence>
            <annotation>
              <appinfo source="http://www.ogf.org/dfdl/";>
                <dfdl:setVariable ref="f:someVar">{ 
dfdl:valueLength(someElement, "bytes") }
                </dfdl:setVariable>
              </appinfo>
            </annotation>
          </sequence>
```

The runtime SDE (when parsing) is that message has no value length. 




> Runtime SDE with SetVariable expression
> ---------------------------------------
>
>                 Key: DAFFODIL-2629
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2629
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End, Middle &quot;End&quot;
>    Affects Versions: 3.2.1
>            Reporter: Mike Beckerle
>            Priority: Major
>
> I get a runtime SDE when I have a situation like this:
> {code:java}
> <element name="someElement" type="xs:int"/>
> <sequence>
>   <annotation>
>     <appinfo source="http://www.ogf.org/dfdl/";>
>       <dfdl:setVariable ref="f:someVar">{ dfdl:valueLength(someElement, 
> "bytes") }</dfdl:setVariable>
>     </appinfo>
>   </annotation>
> </sequence>
> {code}
> The runtime SDE (when parsing) is that message has no value length.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to