ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: using <xmlvalidate> task with XML Schema 1.1 and Saxon
Date Tue, 11 May 2010 12:58:40 GMT

good news indeed..post links to the source when you're ready to beta ..(i'll try to build
here and run thru as many TC's as i can)

Thanks Stefan and Graham!
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.



 

> From: graham.heath@ts.fujitsu.com
> To: user@ant.apache.org
> CC: bodewig@apache.org
> Date: Tue, 11 May 2010 11:04:55 +0200
> Subject: using <xmlvalidate> task with XML Schema 1.1 and Saxon
> 
> Well readers,
> 
> here is another update from Mike Kay just to whet your appetites
> 
> > I've now implemented a ValidatingReader that implements XMLReader and 
> >recognizes the Apache-defined XMLReader properties that are passed 
> >between Ant and Xerces, so that Saxon can now be used to implement 
> >both the xmlvalidate and schemavalidate tasks. 
> >This will be released in Saxon-EE 9.3.
> >
> >Michael Kay
> 
> Graham (esel) Heath
> 
> 
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org] 
> Sent: Monday, May 10, 2010 12:02 PM
> To: user@ant.apache.org
> Subject: Re: using <xmlvalidate> task with XML Schema 1.1 and Saxon
> 
> On 2010-05-10, Heath, Graham <graham.heath@ts.fujitsu.com> wrote:
> 
> > I include here Mike Kay's offline assessment of using saxon validate
> > inside ant.
> 
> >> It looks as if this task relies on the validation engine implementing
> >> XMLReader - that is, it's assuming validation is something that
> >> parsers do. I would have expected something that expects to work
> >> with any validation engine to use javax.xml.vaidation.Validator,
> 
> Just to prvide some feedback - feel free to relay it back:
> 
> Ant still targets JDK 1.4 and with Ant 1.7.x we even had to maintain
> backwards compatibility with Java 1.3. The JAXP validation API has only
> been introduced with the JAXP version that ships with Java5.
> 
> Given the tasks are only part of the "optional tasks" section anyway, we
> could certainly introduce an additional task that wouldn't work with
> Java 1.4 and in theory even allowed validation of Relax NG or other
> schema descriptions. If I find time, I may give it a try (I know the
> validation API a bit via my XMLunit work) - I'm just not sure when "if I
> find time" may happen, so if anybody else wants to start with it, you
> are more than welcome.
> 
> Stefan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
 		 	   		  
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message