コミュニティ

xml output - missing ending tag

Hello,

I have an invoices project and I created some custom fields. 
I came across an issue where the output xml has the ending tag missing for some fields.

For example in the lines below you can see that the fld1 has both <_fld1> and </_fld1> but fld2 has only <_fld2> and doesn't have </_fld2>

<_fld1 addData:SuspiciousSymbols="00" addData:RecognizedValue="1 ">1 </_fld1>

<_fld2 addData:SuspiciousSymbols="0000" addData:RecognizedValue="1234"/>

This causes issues in the application that parses the field values. 
Does anyone know why one field would have the ending tag and other might not?

 

Thanks!

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Permanently deleted user

    Hello,

    According to XML specifications, if an XML tag is empty (no content), a single tag can serve as both the opening and closing tag.
    The tags that have attributes only are considered empty this way, so they can end with /> (self-close).

    0

サインインしてコメントを残してください。