Changeset 4549a01


Ignore:
Timestamp:
10/28/11 22:40:34 (7 months ago)
Author:
mrook
Branches:
master
Children:
7d9dca9
Parents:
1e27dc6
git-author:
Michiel Rook <mrook@…> (10/28/11 22:40:34)
git-committer:
Michiel Rook <mrook@…> (10/28/11 22:40:34)
Message:

Refs #770 - remove link to MSV, instead provide xmllint example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/phing_guide/book/chapters/GettingStarted.html

    rc92151f r4549a01  
    524524                searching for XML-editors is bound to find a number of editors with 
    525525                this capability.</p> 
    526         <p> 
    527                 For only validating Phing build files there are several excellent free 
    528                 Java based command line tool validators (unfortunately we are not 
    529                 aware of any existing PHP based validator). One such validator is Sun 
    530                 Microsystems "Sun Multi-Schema Validator" or <i>MSV</i> (available at 
    531                 <a href="https://msv.dev.java.net/">https://msv.dev.java.net/</a>). 
    532                 This validator can take an RNG grammar and validate a given XML file 
     526         
     527        <p>If you wish to validate your Phing build file, there are numerous 
     528                options. Links to various validation tools and XML editors 
     529                are available at the RELAX NG home page, <a 
     530                href="http://www.relaxng.org/">http://www.relaxng.org/</a>. 
     531                The command line tool <em>xmllint</em> that comes with 
     532                libxml2 is also able to validate a given XML file 
    533533                against the supplied grammar. 
    534534        </p> 
    535         <p>For example, to use MSV to validate a Phing build file the 
     535        <p>For example, to use xmllint to validate a Phing build file the 
    536536                following command line could be used:</p> 
    537537        <pre> 
    538 $ java -jar msv.jar phing-grammar.rng build.xml 
    539 start parsing a grammar. 
    540 validating /home/joe/build.xml 
    541 the document is valid. 
     538$ xmllint -noout -relaxng phing-grammar.rng build.xml 
     539build.xml validates 
    542540$ 
    543541</pre> 
Note: See TracChangeset for help on using the changeset viewer.