"well-former" tool (Linux)

T

Timo Nentwig

Hi!

I need to parse large XML files which don't terminate tags without body
(i.e. <TAG> when it had to be <TAG />). I'm also not sure about whether
the tags are correctly case-sensitive. I do have an XSD - is there a
tool that can "repair" those XML files?

Timo
 
V

Victor Porton

I need to parse large XML files which don't terminate tags without body
(i.e. <TAG> when it had to be <TAG />). I'm also not sure about whether
the tags are correctly case-sensitive. I do have an XSD - is there a
tool that can "repair" those XML files?

These are SGML, not XML files :) Search about SGML.

Well, SGML processors do not support XML Schema...
Search for the DTD or convert XML Schema -> DTD (converters exist).
Then use an SGML normalizer.
 
T

Timo Nentwig

Johannes said:
What do you mean by "uses"? If it does not conform to the XML production
rules, it isn't. Your description of the file sounds like SGML, not XML.

sgml2xml can't correct it anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top