which has got better performance
1)Reading the XML as text(without parsing) and then echoing to a run map and validating using XML type tree in the run map
or
2)Reading the XML as text(without parsing) and then using XMLLIB->validate function in the same map using the map rule
Thanks
XMLLIB--->VALIDATE(xml, schema_url) is a functionality introduced in WTX. In earlier versions of DSTX, we used to parse at the input type because such a functionality did not exist. I feel both approaches are meant depending on your requirements and built-in system functionality.
My personal opinion is that it might be convenient to use XMLLIB--->VALIDATE. It is because error handling might be simplified this way.
Performance-wise, parsing at the input is fair enaough; although I do not have any data on XMLLIB---->VALIDATE.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.