Skip to content

Commit

Permalink
fix: skip json to xml when already xml (#53)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergi Philipsen <[email protected]>
  • Loading branch information
jacodg and philipsens authored Feb 21, 2023
1 parent 0a2ef90 commit a665e21
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@

<LocalFileSystemPipe name="ReadFile" action="read">
<Param name="filename" sessionKey="FileName" />
<Forward name="success" path="JsonToXml" />
<Forward name="success" path="IsXml" />
</LocalFileSystemPipe>

<XmlWellFormedCheckerPipe name="IsXml">
<Forward name="success" path="EXIT" />
<Forward name="failure" path="JsonToXml" />
</XmlWellFormedCheckerPipe>

<JsonPipe name="JsonToXml">
<Forward name="success" path="EXIT"/>
</JsonPipe>
Expand Down

0 comments on commit a665e21

Please sign in to comment.