Errors in XML documents will stop your XML applications.
When using it for validation Xml against Xsd everythink works fine and how I expect.
But when I try validate a Xsd file against another Xsd, it throws no validation exception.
The Std In Parse utility can be used to call it from the command line.
Also, a commenter below points to this more complete wrapper utility.
You could also use xmllint, which is part of libxml. Example usage: One problem is that libxml doesn't implement all of the specification, so you may run into issues :( Alternatively, if you are on Windows, you can use msxml, but you will need some sort of wrapper to call it, such as the GUI one described in this DDJ article.
However, it seems most people on Windows use an XML Editor, such as Notepad (as described in Nate's answer) or XML Notepad 2007 as suggested by Steve C (there are also several commercial editors which I won't mention here).
by Domenico Briganti is licensed under a Creative Commons Attribuzione 3.0 Unported License.
Permissions beyond the scope of this license may be available at [email protected]
Hi monks, I refer and Perl & XML written by Erile T.
Ray & Jason Mcintosh from O'reilly book there also they explained based on XML:: Lib XML and XML:: Validator:: Schema to validate.
You need to turn reporting warning (Xml Schema Validation Flags. See this post for more details: com/b/xmlteam/archive/2007/04/02/…