problem while validating xml file

Hi,
I am validating xml file using pub.schema.validate and as input m providing full qualified xml schema name and the xmlnode for that m using service pub.xml.xmlStringToXMLNode

in normal scenario m able to validate the xml file but when any special character like ‘&’ comes into data …then the service fails in validation

is there anyone who is facing same issue

Thanks in advance

Please ensure that you are using proper xml encoding.

If you are using documentToString then make sure to set “encode” input parameter as “true”.

While using stringToXmlNode, define the encoding used by your XML.

Hi , Is it possible to validate high volume XML file against the schema . i tried it but it throw an error with java heap space :frowning: …whts the solution to validate the file before starting its processing …

thanks & regards
rohit gupta
rohitgupta.it@gmail.com