You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2020/12/16 20:16:00 UTC

[jira] [Closed] (DAFFODIL-401) extension property for converting child element to XML attribute

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

Mike Beckerle closed DAFFODIL-401.
----------------------------------
    Resolution: Not A Problem

No ticket needed for this. It is discussed as desirable on our Wiki for DFDL futures.

We have too many Jira tickets to be trying to use them for wish list also.

 

> extension property for converting child element to XML attribute
> ----------------------------------------------------------------
>
>                 Key: DAFFODIL-401
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-401
>             Project: Daffodil
>          Issue Type: Wish
>          Components: Back End, Front End
>    Affects Versions: s5
>            Reporter: Mike Beckerle
>            Priority: Major
>
> We need an extension to DFDL to allow schema authors to declare they would like a element child to instead appear in an XML-conversion of the DFDL infoset as an XML attribute.
> So instead of <foo><bar>1</bar><baz>2</baz></foo>, you can get the more human friendly <foo bar="1" baz="2"/> as the XML-conversion.
> The property cannot be in the DFDL property namespace; hence daffodil: prefix, not dfdl: prefix:
> Possible names: daffodil:asXMLAttribute="true" or daffodil:XMLConversion="asAttribute"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)