RE: importing ant targets from the classpath

2010-05-06 Thread Martin Gainty
Frank- what i would do is a xslt transform on the xml file specified by the 'in' attribute use the commonbuildfile.xsl specified by style attribute to replace known params and output to out.xml specified by out attribute with predefined knownTarget and known parameters then at the

Packaging problem with tar and tarfilesets

2010-05-06 Thread Jörg Schmitz-Linneweber
Hello all! I'just hit a problem with the following code: --- snip- > ant -version Apache Ant version 1.8.0 compiled on February 1 2010 --- snip- --> --- snip---

importing ant targets from the classpath

2010-05-06 Thread Frank Wilson
I would like to import ant build targets from the classpath. In otherwords, I am looking for an equivalent of the "import" task, which brings files not from the filesystem, but from the classpath (and hence possibly from a jar). I doesn't seem to me that this is possible with the import task. I was

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Huditsch, Roman (LNG-VIE)
Hi Stefan, After reading the saxon documentation I tried to use the class com.saxonica.jaxp.SchemaFactoryImpl directly for validation purposes Now, he is complaining about finding the saxon licence file (which is present in the classpath). So let's see, if that leads to a s

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Huditsch, Roman (LNG-VIE)
Hi, No, currently I am not using the saxon specific ant tasks. I know that there is one for doing xslt transformations, but I am not sure that there is one for schema validations, too? I couldn't find anything in this regards at the saxonica page, too... Thanks, Roman Mag. (FH) Roman Huditsch

RE: AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Martin Gainty
Roman i believe you may be implementing a non-namespace aware library..could you check that namespace attribute is set to true e.g. http://xml.org/sax/features/namespaces"; value="true"/> could you please display the xmlvalidate task also please display versions of xerces, sax and jaxp jars y

Re: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Stefan Bodewig
On 2010-05-06, Huditsch, Roman (LNG-VIE) wrote: > Hi Stefan, > Sorry, I forgot to include the ant output from the command line :( > H:\Projekte\Stylesheets\LND\ZeitschriftenProduktion\build.xml:713: Could not > start xml validation: com.saxonica.Validate implements nor SAX1 Parser nor > SAX2

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Knuplesch, Juergen
Did you use the saxon tasks? I use Saxon for XSLT inside Ant and I installed the Saxon Anttasks -Ursprüngliche Nachricht- Von: Huditsch, Roman (LNG-VIE) [mailto:roman.hudit...@lexisnexis.at] Gesendet: Donnerstag, 6. Mai 2010 09:30 An: Ant Users List Betreff: AW: using task with XML Sche

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Huditsch, Roman (LNG-VIE)
Hi Stefan, Sorry, I forgot to include the ant output from the command line :( H:\Projekte\Stylesheets\LND\ZeitschriftenProduktion\build.xml:713: Could not start xml validation: com.saxonica.Validate implements nor SAX1 Parser nor SAX2 XML Reader. Best regards, Roman Mag. (FH) Roman Huditsch

Re: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Stefan Bodewig
On 2010-05-06, Huditsch, Roman (LNG-VIE) wrote: > Hi, > I tried to use the xmlvalidate task with an XML Schema 1.1 and Saxon EE, > but failed. failed in which way? Is there any (verbose) output that may give additional hints? > Has anyone tried this successfully? Never tried, but I hope Ant

using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Huditsch, Roman (LNG-VIE)
Hi, I tried to use the xmlvalidate task with an XML Schema 1.1 and Saxon EE, but failed. Has anyone tried this successfully? My task looks like: Any help is highly welcome. Thanks, Roman Mag. (FH) Roman Huditsch Teamleader XSLT-Development Tel.: +43 (1) 534 52 -