XML Phantom
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 25
- Joined: Thu Jan 31, 2008 11:06 pm
- Location: Australia
XML Phantom
I've got a Server job which is fairly simple.
FOLDER----------->XML---------->ODBC
The job produces the following warning:
DataStage Job 1839 Phantom 10528
XSLT Warning: Source tree node: SoftwareResourceLocator. (, line 168, column 64.)
Now when I run it with tracing on, the warnings disappear.
I'd appreciate any help on resolving this or even if someone can tell me how to view the XSLT generated. I'm not certain but I thought that in DS Server Version 6, I could see the generated XSLT in the log when tracing was turned on.
Thanks
FOLDER----------->XML---------->ODBC
The job produces the following warning:
DataStage Job 1839 Phantom 10528
XSLT Warning: Source tree node: SoftwareResourceLocator. (, line 168, column 64.)
Now when I run it with tracing on, the warnings disappear.
I'd appreciate any help on resolving this or even if someone can tell me how to view the XSLT generated. I'm not certain but I thought that in DS Server Version 6, I could see the generated XSLT in the log when tracing was turned on.
Thanks
Jim Paradies
-
- Premium Member
- Posts: 25
- Joined: Thu Jan 31, 2008 11:06 pm
- Location: Australia
Thanks for the information.
Oh, and in case anyone's interested, had to look that one up.
Spit the dummy.
Oh, and in case anyone's interested, had to look that one up.
Spit the dummy.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Hi Jim...
Thanks for the info.... for additional detail, can you define what was there instead of the text() bits?
Was it something like /element1/element2 ?
or /element1/element2/ ?
The second example above is somethng that is critical for many/most techniques, and something I use all the time. It would be interesting to know if that's what causes your phantom. Of course, as noted in the thread, there is a patch to XMLPack, although the phantom result was not one of the smptoms defining the patch I'm thinking about.
I recall in 7.x the phantom used to appear regularly with XMLPack in general when used on Solaris, although I see you are using Windows.
Ernie
Thanks for the info.... for additional detail, can you define what was there instead of the text() bits?
Was it something like /element1/element2 ?
or /element1/element2/ ?
The second example above is somethng that is critical for many/most techniques, and something I use all the time. It would be interesting to know if that's what causes your phantom. Of course, as noted in the thread, there is a patch to XMLPack, although the phantom result was not one of the smptoms defining the patch I'm thinking about.
I recall in 7.x the phantom used to appear regularly with XMLPack in general when used on Solaris, although I see you are using Windows.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
-
- Premium Member
- Posts: 25
- Joined: Thu Jan 31, 2008 11:06 pm
- Location: Australia
If you were using straight XSLT, you could define the value of an element like this
but with DataStage, you have to explicitly use the text() function thus:
Code: Select all
/node1/node2
Code: Select all
/node1/node2/text()
Jim Paradies
-
- Premium Member
- Posts: 25
- Joined: Thu Jan 31, 2008 11:06 pm
- Location: Australia
lstsaur,
Thanks for your reply before.
In answer to your question, no I haven't applied any patches. I will be looking at doing that though. It would be very handy to be able to see the generated stylesheet.
Thanks again.
By the way, is there a specific patch that I need to be asking for?
Thanks for your reply before.
In answer to your question, no I haven't applied any patches. I will be looking at doing that though. It would be very handy to be able to see the generated stylesheet.
Thanks again.
By the way, is there a specific patch that I need to be asking for?
Jim Paradies