water has asked for the wisdom of the Perl Monks concerning the following question:
We'd like the benefits of validation. Do I need to insert the DOCTYPE in the XML files to get this? Or is there a way to tell Twig "here's a file, it has no DOCTYPE, but please validate it using the DTD in this file over there"?
The alternative is rewrite each file with the one extra line tucked in at the top, but the files are big, and we'd prefer not to rewrite and shuffle files.
Thanks for any suggestions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Twig -- validating files lacking DOCTYPE
by Aristotle (Chancellor) on Mar 20, 2004 at 18:40 UTC | |
by water (Deacon) on Mar 20, 2004 at 18:56 UTC | |
|
Re: XML::Twig -- validating files lacking DOCTYPE
by mirod (Canon) on Mar 22, 2004 at 17:22 UTC |