You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2019/06/10 17:54:00 UTC
[jira] [Resolved] (DAFFODIL-2146) Incorrectly recognize
keyset-value transform as identity transfrom
[ https://issues.apache.org/jira/browse/DAFFODIL-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Lawrence resolved DAFFODIL-2146.
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.4.0
Fixed in commit f840372b780d59506196fa895a4c5190ac767ec2
> Incorrectly recognize keyset-value transform as identity transfrom
> ------------------------------------------------------------------
>
> Key: DAFFODIL-2146
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2146
> Project: Daffodil
> Issue Type: Bug
> Components: Front End
> Affects Versions: 2.4.0
> Reporter: Brandon Sloane
> Assignee: Brandon Sloane
> Priority: Major
> Fix For: 2.4.0
>
> Attachments: a.dfdl.xsd
>
>
> Bug in the new enum support system.
> The schema:
> {quote}<xs:simpleType name="f" dfdl:repType="xs:int">
> <xs:restriction base="xs:string">
> <xs:enumeration value="one" dfdl:repValues="1"/>
> <xs:enumeration value="zero" dfdl:repValues="0"/>
> </xs:restriction>
> </xs:simpleType>
> <xs:element name="a" type="xs:string" dfdl:inputValueCalc="\{dfdl:inputTypeCalcString('tns:f',0)}" />
> {quote}
> fails to compile with:
> {quote}Schema Definition Error: Identity transform requires that the basetype and reptype have a common primitive type
> {quote}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)