Skip to content

Unexpected element exception from file geneated from playlist #16

@dalcorta

Description

@dalcorta

I generated a orchestra file using the playlist app, and it contains a namespace that causes the generator to crash.

Exception in thread "main" java.lang.RuntimeException: XML Validation Exception: unexpected element (uri:"http://fixprotocol.io/2022/orchestra/appinfo/fixml", local:"FIXMLencodingType"). Expected elements are <{}text> at row: 19353 column: 51

The namespace is used in these structures for example:

<fixr:field id="8" abbrName="BeginString" updated="FIX.Latest" type="BeginStringCodeSet" name="BeginString" updatedEP="270" added="FIX.2.7"> <fixr:annotation> <fixr:documentation purpose="SYNOPSIS"> Identifies beginning of new message and session protocol version by means of a session profile identifier (see FIX Session Layer for details). ALWAYS FIRST FIELD IN MESSAGE. (Always unencrypted).</fixr:documentation> <fixr:appinfo purpose="FIXML"> <fixml:FIXMLencodingType notReqXML="1"/> </fixr:appinfo> </fixr:annotation> </fixr:field>

<fixr:componentRef updatedEP="192" id="1021" updated="FIX.5.0SP2" added="FIX.4.4"> <fixr:annotation> <fixr:appinfo purpose="FIXML"> <fixml:FIXMLencodingType inlined="1"/> </fixr:appinfo> <fixr:documentation> Required if NoUnderlyings(711) &gt; 0.</fixr:documentation> </fixr:annotation> </fixr:componentRef>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions