Changeset 4549a01
- Timestamp:
- 10/28/11 22:40:34 (7 months ago)
- 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)
- File:
-
- 1 edited
-
docs/phing_guide/book/chapters/GettingStarted.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
docs/phing_guide/book/chapters/GettingStarted.html
rc92151f r4549a01 524 524 searching for XML-editors is bound to find a number of editors with 525 525 this capability.</p> 526 <p>527 For only validating Phing build files there are several excellent free528 Java based command line tool validators (unfortunately we are not529 a ware of any existing PHP based validator). One such validator is Sun530 Microsystems "Sun Multi-Schema Validator" or <i>MSV</i> (available at531 <a href="https://msv.dev.java.net/">https://msv.dev.java.net/</a>).532 This validator can take an RNG grammar andvalidate a given XML file526 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 533 533 against the supplied grammar. 534 534 </p> 535 <p>For example, to use MSVto validate a Phing build file the535 <p>For example, to use xmllint to validate a Phing build file the 536 536 following command line could be used:</p> 537 537 <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 539 build.xml validates 542 540 $ 543 541 </pre>
Note: See TracChangeset
for help on using the changeset viewer.
