[DFDL-WG] clarification needed: when expressions are evaluated
Mike Beckerle
mbeckerle.dfdl at gmail.com
Thu Jul 11 15:58:43 EDT 2013
Suppose I have
<dfdl:defineFormat name="myFormat">
<dfdl:format byteOrder="{../bOrder }"/>
</dfdl:defineFormat>
<dfdl:format encoding="{ ../enc }"/>
Is that immediately nonsense, since ../bOrder isn't meaningful at top level
where formats are defined?
What about ../enc - evaluated at top level or when the encoding property is
needed?
I.e., I use this format down inside my schema
....<element ref="myElement" dfdl:ref="myFormat"/>
Does the relative path ../bOrder get executed relative to myElement?
My initial thought was that relative paths aren't usable in top-level
definitions, but if that's the case then escapeScheme's, which can only be
defined at top level currently, would not have any way to take advantage
of the runtime-expression capabilites of escapeChar, escapeEscapeChar, etc.
...mike
--
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130711/1e903aa6/attachment.html>
More information about the dfdl-wg
mailing list