ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: About schemavalidate Was (Re: xmlvalidate with remote schemas)
Date Tue, 26 Sep 2006 15:00:40 GMT
Prashant wrote:
> Steve Loughran wrote:

>> You have to use different <schemavalidates> mapping the xmlns to the 
>> relevant doc. You probably always need a local copy because for a long 
>> time, the public webapp xsd didn't allow + in a mime type, like 
>> application/soap+xml.
> I am not sure i understand what you mean. Can you kindly explain with an 
> example.
> 

1. create a web.xml that has a <mime-mapping> of type 
application/soap+xml, application/atom+xml or the like

2. try validating it against the public schemas

I think they've fixed it, for a while it would break. Some tools that 
have their own copy of the older schema (like xdoclet) still break

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message