varigence / BimlPit

Public Issue Tracker for all Varigence Biml products
6 stars 0 forks source link

Description Annotations doubling up for Variables/Parameters #53

Closed billinkc closed 6 years ago

billinkc commented 6 years ago

Repro below. For Variables and Parameters, the Description annotation type results in the emitted object having the text repeated -> thus "This is a description" becomes "This is a descriptionThis is a description"

<Biml xmlns="http://schemas.varigence.com/biml.xsd">
    <Packages>
        <!-- https://varigence.com/Forums?forumName=Biml&threadID=9907 -->
        <Package Name="myPack">
            <Parameters>
                <Parameter Name="P_INT_myParameter" DataType="Int32">123<Annotations><Annotation AnnotationType="Description">This is a description</Annotation></Annotations></Parameter>
            </Parameters>
            <Variables>
                <Variable Name="vToo" DataType="Int32">123<Annotations><Annotation AnnotationType="Description">Me too</Annotation></Annotations></Variable>
            </Variables>
            <Tasks>
                <Container Name="SEQC Here question mark">
                    <Annotations><Annotation AnnotationType="Description">Nope</Annotation></Annotations>
                </Container>
            </Tasks>
            <Events>
                <Event EventType="OnError" Name="OnErrorEvent" >
                    <Annotations><Annotation AnnotationType="Description">Nope</Annotation></Annotations>
                </Event>
            </Events>
        </Package>
    </Packages>
</Biml>
varigence commented 6 years ago

This is fixed in the RC

bweissman commented 6 years ago

can verify the fix!