You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Coast <na...@codeczar.com> on 2003/09/04 11:21:07 UTC

POM validation / XSD

Hi,

POM validation, is there any reason why project.xml is validated using 
pom:validate rather than adding a DOCTYPE element to the project.xml? 
So allowing my xml editor to worry about the validity of my project.xml.

I tried adding this

<!DOCTYPE web-app
   PUBLIC "maven-project"
   "maven-project.xsd">

with maven-project.xsd in the same dir as the project.xml.  This didn't 
work, but I'm assuming this is due to me knowing very little about xml, 
rather than something wrong with the xsd.

thanks
Nathan




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: POM validation / XSD

Posted by Nathan Coast <na...@codeczar.com>.
cheers Dion & Brett,

think I might learn a bit more about xml before I try using it :)

dion@multitask.com.au wrote:

> Doctype is only for DTDs.
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
> 
> 
> Nathan Coast <na...@codeczar.com> wrote on 04/09/2003 07:21:07 PM:
> 
> 
>>Hi,
>>
>>POM validation, is there any reason why project.xml is validated using 
>>pom:validate rather than adding a DOCTYPE element to the project.xml? 
>>So allowing my xml editor to worry about the validity of my project.xml.
>>
>>I tried adding this
>>
>><!DOCTYPE web-app
>>   PUBLIC "maven-project"
>>   "maven-project.xsd">
>>
>>with maven-project.xsd in the same dir as the project.xml.  This didn't 
>>work, but I'm assuming this is due to me knowing very little about xml, 
>>rather than something wrong with the xsd.
>>
>>thanks
>>Nathan
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: POM validation / XSD

Posted by di...@multitask.com.au.
Doctype is only for DTDs.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Nathan Coast <na...@codeczar.com> wrote on 04/09/2003 07:21:07 PM:

> Hi,
> 
> POM validation, is there any reason why project.xml is validated using 
> pom:validate rather than adding a DOCTYPE element to the project.xml? 
> So allowing my xml editor to worry about the validity of my project.xml.
> 
> I tried adding this
> 
> <!DOCTYPE web-app
>    PUBLIC "maven-project"
>    "maven-project.xsd">
> 
> with maven-project.xsd in the same dir as the project.xml.  This didn't 
> work, but I'm assuming this is due to me knowing very little about xml, 
> rather than something wrong with the xsd.
> 
> thanks
> Nathan
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org