RE: Ant XSL: inserting unwanted attributes

2009-02-18 Thread Rinehart, Raleigh
> -Original Message- > From: Scott Stark [mailto:sst...@us.ibm.com] > Sent: Wednesday, February 18, 2009 4:00 PM > To: Ant Users List > Subject: Re: Ant XSL: inserting unwanted attributes > > > >So, have you tried to run your XSLT outside of Ant? Be interes

Re: Ant XSL: inserting unwanted attributes

2009-02-18 Thread Scot P. Floess
Gotcha... Wish I could be of more help :( On Wed, 18 Feb 2009, Scott Stark wrote: So, have you tried to run your XSLT outside of Ant? Be interesting to see if you get the same results... Ah...gotcha about xmlcatalog :) Yeah, getting that to work with Saxon was more than my brain could

Re: Ant XSL: inserting unwanted attributes

2009-02-18 Thread Scott Stark
>So, have you tried to run your XSLT outside of Ant? Be interesting to see >if you get the same results... >Ah...gotcha about xmlcatalog :) Yeah, getting that to work with Saxon was more than my brain could handle... couldn't find any good doc about it. Turned out to be easy with Ant... Scott

Re: Ant XSL: inserting unwanted attributes

2009-02-18 Thread Scot P. Floess
So, have you tried to run your XSLT outside of Ant? Be interesting to see if you get the same results... Ah...gotcha about xmlcatalog :) On Wed, 18 Feb 2009, Scott Stark wrote: However, I don't recall seeing mention of default values... Just the resultant document has unwanted attribu

Re: Ant XSL: inserting unwanted attributes

2009-02-18 Thread Scott Stark
>However, I don't recall seeing mention of default values... Just the resultant >document has unwanted attributes added... >So, if this is in fact that situation...I'm confused about the posting to this list... >Have you tried to execute your XSLT outside Ant? If so and the result is the same..

Re: Ant XSL: inserting unwanted attributes

2009-02-18 Thread sfloess
Sorry, been fighting being sick... However, I don't recall seeing mention of default values... Just the resultant document has unwanted attributes added... So, if this is in fact that situation...I'm confused about the posting to this list... Have you tried to execute your XSLT outside Ant?

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 sfloess
Why would you say it has nothing to do with XSLT? Robert Koberg wrote: > > 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 nothi

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread sfloess
Not sure I agree with that at all... I am using the XSLT task to convert Ant scripts/Subversion logs to HTML... Not sure why Ant would add attributes. If you are using XSLT to convert, Ant is certainly not going to add attributes for you... Has nothing to do with Ant. Robert Koberg wro

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 sfloess
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? Scott Stark wrote: > > Hi all, my first post here, from a relative newbie, so hopefully my > question isn't too off-base. > > I'm running an Ant build

Re: Ant XSL: inserting unwanted attributes

2009-02-17 Thread sfloess
Just curious, does your XSLT have an output element in it? For example: Scott Stark wrote: > > Hi all, my first post here, from a relative newbie, so hopefully my > question isn't too off-base. > > I'm running an Ant build using that reads an XML file, makes a few > changes using the

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 Scott Stark
>> 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 slow here, but which XML parser? Is it something in

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

Ant XSL: inserting unwanted attributes

2009-02-17 Thread Scott Stark
Hi all, my first post here, from a relative newbie, so hopefully my question isn't too off-base. I'm running an Ant build using that reads an XML file, makes a few changes using the specified XSL, and outputs to another XML file, which, except for the changes I'm making in the XSL, should be ide