The online users mailing list is the place for any questions.It is at: [email protected] code has been tested on the following platforms: XML:: Xerces now supports Unicode.Validator is a simple application that parses an XML input file and reports validation errors to STDERR in the same format as onsgmls so that it can be used for example in Emacs locating the errors in the source file.The Validator sample parses an XML file and prints any errors to STDERR.November 8, 2000 Kip Hampton The Problem: Although XML Schemas and RELAX promise fine-grained validation for XML documents, neither are presently available in the Perl world. The Solution: Combine the simplicity of module was designed to give the harried hacker an easy way to ensure that his or her code passes a series of basic functional test before they unleash it on the world, and, in the case of writing modules, that those same tests are passed on the system on which the code is being installed.You need a way to validate the structure of your documents now. It is not surprising, then, that using , which takes up to three arguments: a test, an expected return value and an optional message to display upon failure.
will return the same nodes as the previous example, and bring all of the "bar" elements' descendants along for the ride.
Please use them for all future code postings in your messages.
well-formed is a minimal requirement for XML everywhere.
Luckily, a higher level of quality control is available to us when we need to check for things like that. It can even regulate the patterns of character data in any element or attribute.
A tells you whether a document is valid or not, when given a DTD or schema to check against.