Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
As I wrote previously, the XML parser is using the DTD to fill in the default attributes/values. Nothing to do with Ant or XSL -- basic XML. -Rob On Feb 17, 2009, at 5:46 PM, wrote: Why would you say it has nothing to do with XSLT? Robert Koberg wrote: On Feb 17, 2009, at 4:22

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
On Feb 17, 2009, at 4:22 PM, wrote: Scott: I do a fair bit of XSLT/XSD work related to an ESB at work. Is it possible for me to get a copy of your XSLT so I can review it? has nothing to do with XSL... Scott Stark wrote: Hi all, my first post here, from a relative newbie, so

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
On Feb 17, 2009, at 11:32 AM, Scott Stark wrote: There's nothing in my XSL that's inserting these attributes. Any idea what's going on? Thanks. Does your XML use a DTD/Schema? Does that DTD/Schema have defaults? It is not the XSL, it is the XML parser. Yes I'm using DTD's. Sorry to be sl

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread Robert Koberg
There's nothing in my XSL that's inserting these attributes. Any idea what's going on? Thanks. Does your XML use a DTD/Schema? Does that DTD/Schema have defaults? It is not the XSL, it is the XML parser. -Rob - To unsubscr

Re: Simple solutions to sshexec nohup Ant?

2009-02-09 Thread Robert Koberg
I had this problem as well. It had to do with the environment being different in Ant's case than from running the command outside of Ant. Check out: http://markmail.org/message/xqfe4sqiqsujq7vz thanks to Stefan Bodewig best, -Rob On Feb 9, 2009, at 1:07 PM, Lucas Albers wrote: I use pli

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
On Nov 6, 2008, at 10:02 AM, Ron Van den Branden wrote: Hi, Robert Koberg schreef: I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR from XSLT transformations? If you can use XSL 2.0 then there i

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
On Nov 6, 2008, at 9:53 AM, Ron Van den Branden wrote: Hi, I gather from the documentation at that the element only applies to , , or tasks. I'm wondering if is it possible to specify I/O redirection for the task? If not, are

Re: Cached results?

2008-10-16 Thread Robert Koberg
On Oct 16, 2008, at 5:47 PM, Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:48 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Actually, there is more. You will want to check all document functions to see what other is being used and if it has changed. I actually have somethin

Re: Cached results?

2008-10-16 Thread Robert Koberg
On Oct 16, 2008, at 2:26 PM, Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:19 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Ant's XSL only checks the primary XSL file for changes (and the source XML - not xi:includes or file entities). It does not parse that XSL to find

Re: Cached results?

2008-10-16 Thread Robert Koberg
Ant's XSL only checks the primary XSL file for changes (and the source XML - not xi:includes or file entities). It does not parse that XSL to find xsl:import/includes to check if they have changed. You could put the import/includes in the primary XSL or use force=true on the xslt task. be

Re: sshexec exit status 127

2008-09-03 Thread Robert Koberg
On Sep 2, 2008, at 11:58 PM, Stefan Bodewig wrote: On Tue, 2 Sep 2008, Robert Koberg <[EMAIL PROTECTED]> wrote: Hi, ant 1.7.1, jsch-0.1.33, commons-net-1.5.0-dev, Red Hat Enterprise Linux Server release 5.2 (Tikanga) I am trying to use ant on one server, which is using sshexec to

sshexec exit status 127

2008-09-02 Thread Robert Koberg
Hi, ant 1.7.1, jsch-0.1.33, commons-net-1.5.0-dev, Red Hat Enterprise Linux Server release 5.2 (Tikanga) I am trying to use ant on one server, which is using sshexec to invoke ant on a remote server. I also tried creating a shell script that just executes ant and using that as the command

Re: xmlcatalog working?

2008-04-29 Thread Robert Koberg
I think that does it. I just stuck all catalog related items on the classpath: On Tue, 2008-04-29 at 18:53 +0100, Dave Pawson wrote: > 2008/4/29 Robert Koberg <[EMAIL PROTECTED]>: > > Hi, > > >

xmlcatalog working?

2008-04-29 Thread Robert Koberg
Hi, I am having an on-off internet connection day and it has shown that either my usage of xmlcatalog is wrong or it does not work. I am using ant 1.7.0 with all of the xerces 2.9.1 distro's jars in ant's lib directory (resolver.jar, serializer.jar, xercesImpl.jar and xml-apis.jar). I also have s

Re: Running ANT on Linux

2008-04-24 Thread Robert Koberg
On Thu, 2008-04-24 at 19:48 +0100, Dave Pawson wrote: > On 24/04/2008, bgolman <[EMAIL PROTECTED]> wrote: > > > > Hello everyone! > > > > I need your help on running the ant task on Linux box. It might sound > > simple > > (and so it was for me), however, things turned out to be rather ugly. A

Re: XSL, Ant and different input files

2008-03-15 Thread Robert Koberg
ying an xmlcatalog? But, really, he does not need a catalog. He can pass the filename parameter and the target directory parameter. Even with a catalog he would need to: best, -Rob > http://ant.apache.org/manual/CoreTasks/style.html > > HTH > Martin > - Original Mes

Re: XSL, Ant and different input files

2008-03-15 Thread Robert Koberg
Hi, Have you looked at the relatively brief one page of documentation for the XSLT task in the Ant manual? You want to look for sending the target directory for your lookup files into the transformation as params. You can also specify the filename paramter name as an attribute on the XSLT task e

Re: How to load multiple input xml files to a single xsl ?

2008-03-15 Thread Robert Koberg
Hi, This is a basic XSL question. These types of questions would probably receive a better response on mulberry-tech's xsl list. Anyway, look for the XSL document function. best, -Rob On Sat, 2008-03-15 at 07:45 -0700, Z W wrote: > Hi > I have multiple data xml files to pass to a xsl to proces

Re: xslt version

2008-03-13 Thread Robert Koberg
Currently, using XSLT version 2 means using Michael Kay's Saxon. You can get it from saxonica.com Put the saxon.jar on your classpath for the build and set the javax.xml.transform.TransformerFactory to use saxon. For example: Or you could set a concrete subclass for the factory through a s

bug: jar task with nested service does not create META-INF/services

2008-02-27 Thread Robert Koberg
Hi, I am trying to use the nested service element in the jar class. It produces a META-INF/service rather than META-INF/services: /** * Write SPI Information to JAR */ private void writeServices(ZipOutputStream zOut) throws IOException { Iterator serviceIterator;

Re: Editing an XML file using ant

2007-09-19 Thread Robert Koberg
t task work (I have always used the full distro so I have never run into the problem) best, -Rob > > Thanks > > > > On 9/19/07, Robert Koberg <[EMAIL PROTECTED]> wrote: > > > > On Wed, 2007-09-19 at 13:45 -0400, broken connection wrote: > > > Hi Fr

Re: Editing an XML file using ant

2007-09-19 Thread Robert Koberg
On Wed, 2007-09-19 at 13:45 -0400, broken connection wrote: > Hi Friends, > > I want to add some extra mime-mappings to an web.xml file in the deployment > environment using my build script.I am trying using "XMLTASK" but for some > reason it's not working. Is there any other way using ANT to acc

Re: Python implementation for Ant

2007-02-07 Thread Robert Koberg
On Wed, 07 Feb 2007 10:27:30 -0500, Hans Schwaebli <[EMAIL PROTECTED]> wrote: Maybe Ant was not designed for easy programmatical use? Maybe. What is your problem? Works for me... I use it programmatically, though mostly through build files. But I like XML. Robert Koberg &

Re: Python implementation for Ant

2007-02-07 Thread Robert Koberg
On Wed, 07 Feb 2007 09:49:16 -0500, Hans Schwaebli <[EMAIL PROTECTED]> wrote: Why not offer writing Ant scripts in Jython and XML? Let developers choose. But now they have no real choice for Ant scripts, only XML syntax. What is stopping now from writing your Ant /scripts/ in Jython/Java

Re: Sudo

2006-05-25 Thread Robert Koberg
Hi, (I might have missed this suggestion) Why not just put a script or ant build on the remote machine? Then call that from Ant using sshexec. best, -Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: xslt extension question

2006-05-10 Thread Robert Koberg
but its close enough) but now i want to invoke it from ant's xslt task and the doc seems to say the callpath att is for the xslt proc - fine - but the proc ie saxon.jar can't find SGMLEmitter.jar - hence problem. cheers mary Robert Koberg <[EMAIL PROTECTED]> wrote on 10/05/20

Re: xslt extension question

2006-05-10 Thread Robert Koberg
Mary Milne wrote: hi i'm trying to run the task using saxon.jar - that bits fine ie the problem is the xslt script has an extension to make the output SGML ie This is not valid. Why not just use method="html" with whatever? Also just set doctype-public and doctype-system to your particu

Re: ant xslt on java 1.5

2006-03-31 Thread Robert Koberg
Mark Lybarger wrote: i'll go ahead and reply to my own post. the "solution" seems to put xalan.jar into the ant lib folder. With it there, the task works, without that jar there, it doesn't work. I tried creating my own xslt task by extending the main task for ant's xslt. I thought this might

Re: AW: xslt exception

2005-08-15 Thread Robert Koberg
[xslt] Loading stylesheet /home/ron1/workspace/Portal/tools/properties/properties.xsl [xslt] : Error! Error checking type of the expression 'com.sun.org.apache.xalan.internal.xsltc.compiler.ApplyTemplate [EMAIL PROTECTED]'. You might want to drop a xalan jar in you ant/lib dir so you can u

Re: Multiple invocations

2005-08-11 Thread Robert Koberg
Dominique Devienne wrote: Note that I tried Ant 1.6.5 and 1.7 (CVS HEAD), with the same Jsch and they all behave the same way. Maybe I need to try an older version of Jsch... --DD no - it has been like this for a while (at least a couple of years). *Please* someone tell me I am wrong. (and how

Xslt task defaults to XSLTC with jdk1.5?

2005-07-19 Thread Robert Koberg
Hi, Is it expected behavior for the Xslt task to default to XSLTC when using jdk1.5? It does. When I threw the xalan jar in the ant lib directory it used xalan-j. Perhaps it has to do with Sun's renaming of the xalan classes (com.sun.org.apache.xalan...) and sorting in ant?? best, -Rob

Re: Xslt task and DOCTYPE

2005-05-03 Thread Robert Koberg
CLAVIER Remi RD-CORE-LAN wrote: How to force an XSLT transformation To ignore a DTD declared inside the input XML file ? It would be the XML parser that would need to ignore it. You most likely want to use a catalog resolver to set up a local version of the dtd. http://ant.apache.org/manual/Co

Re: xml entity include and protected URL?

2005-02-25 Thread Robert Koberg
Stefan Bodewig wrote: On Fri, 25 Feb 2005, Rob Hills <[EMAIL PROTECTED]> wrote: When I try this, I get errors which I believe are attributable either to a failure to supply a client certificate, or failure to login using a valid username and password. I'm also having difficulty getting any debugg

FAQ: installing on RH ES 3

2005-02-17 Thread Robert Koberg
Hi, If this exists I couldn't find it (I have missed things before...). Q: How do you get ant-1.6x (or versions later than 1.5.2-23) to work on on RedHat ES 3? A: Redhat ES 3.0 comes installed with ant 1.5.2. Even if you have your PATH and ANT_HOME variables set correctly to a later version of a

Re: bug in filter/filterset ??

2004-11-05 Thread Robert Koberg
Stefan Bodewig wrote: On Fri, 05 Nov 2004, Robert Koberg <[EMAIL PROTECTED]> wrote: Anybody seen this before? Yes. It is even mentioned in 's manual page. duh... I guess it couldn't be made clearer :) I though I had read through it before posting... sorry for the bother, -R

bug in filter/filterset ??

2004-11-05 Thread Robert Koberg
I am using the filter/filterset to copy files from one dir to another. It is working for text files, but binary (.gifs, .jpgs) are getting totally screwed up. I can work around this by using two copy tasks (one excluding binaries, the other excluding text files), but I was wondering if there wa

Re: property validation

2004-10-27 Thread Robert Koberg
Mark Lybarger wrote: this is interesting indeed. i'm only vaguely familar with schemas and their use. i have a build.xml which does my build. does my custom schema go into build.xs? how do i reference that from build.xml? here's a simple build.xml that needs to validate a property MAJOR is num

Re: property validation

2004-10-27 Thread Robert Koberg
Mark Lybarger wrote: i'd like to validate some properties in my build file. we have version numbers specified as MAJOR, MINOR, and BUG and i'd like to make sure they're numeric (preferably 2 digits or under). does anyone know how i can possibly use ant's script (javascript) or something else to

Re: Improving Tasks

2004-10-22 Thread Robert Koberg
Rhino wrote: 1. Provide for a masked input field so that it could be used to prompt for a password that would remain unreadable to anyone looking over the users shoulder. (I envision adding a 'mask="true"' parameter to make that possible with the default for 'mask' being 'false'.) I like this al

Re: CopyStreamException on FTP task

2004-10-14 Thread Robert Koberg
same user/password -- everything works. -Rob Martin- - Original Message ----- From: "Robert Koberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 13, 2004 2:05 PM Subject: CopyStreamException on FTP task Hi, When executing the FTP task, I co

Re: CopyStreamException on FTP task

2004-10-14 Thread Robert Koberg
lieve (FTP is the only access I have to the machine) that the user does have permissions is that we can use apps like cuteFTP or Dreamweaver -- with the same user/password -- everything works. -Rob Martin- - Original Message - From: "Robert Koberg" <[EMAIL PROTECTED]>

should have been SocketException -> Re: CopyStreamException on FTP task

2004-10-13 Thread Robert Koberg
client does not have a ssh server on their windows machine. thanks though, -Rob Eg: Thanks, Suma "Robert Koberg" <[EMAIL PROTECTED]> 10/13/2004 02:05 PM Please respond to "Ant Users List" To: [EMAIL PROTECTED]

CopyStreamException on FTP task

2004-10-13 Thread Robert Koberg
Hi, When executing the FTP task, I consistently get a SocketException: Connection reset I have no problem uploading the files with other FTP clients using the same host, username and password. This is going to a windows server (I have sent a request for the logs but I doubt the client knows ho

Re: AW: XSLT with entities and therefore DOCTYPE

2003-12-08 Thread Robert Koberg
-Ursprüngliche Nachricht- Von: Mike Castle [mailto:[EMAIL PROTECTED] Gesendet: Montag, 8. Dezember 2003 21:23 An: [EMAIL PROTECTED] Betreff: XSLT with entities and therefore DOCTYPE There is the mulberrytech xsl-list that is a very good resource. I will try to answer inline. Also, get a