CodeMeme/Phingistrano

Schema validation is needed for dynamic build file creation

Opened this issue · 0 comments

I need to be able to create or manage my build metadata from inside the application GUI.

For my application to know which input is valid, Phingistrano must have some validation information for which my application can validate against.

Since Phingistrano is written in Phing, and since Phing is written in XML, the obvious choice for validation would be XML schema validation. Something like this:

 <?xml version="1.0" encoding="UTF-8"?>
 <project name="MyProject" default="help" 
     xmlns:xsi="http://phingistrano.org/2011/XMLSchema-instance"
     xsi:noNamespaceSchemaLocation="phingistrano.0.1.0.xsd" >