Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to read an input xml file without a header like (<?xml version="1.

Status
Not open for further replies.

ASReddy

Technical User
Oct 29, 2010
2
IN
client send a input fule with out header tag. I want to read the xml input file in WTX 8.2 version. Please help me out with this problem if you have solved the same.
It returns xml parser error.

 
I don't use version 8.2, but I realise that you can validate the file with an XML schema rather than (alternative to) a type tree - I assume that's what you're doing?

2 ideas on this:
1) Send it back to the client as invalid XML
2) If 1 not an option, use a type tree instead of a schema to validate the file, making the XML declaration optional.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top