Does DataStage XML input support XML version 1.1

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sjordery
Premium Member
Premium Member
Posts: 202
Joined: Thu Jun 08, 2006 5:58 am

Does DataStage XML input support XML version 1.1

Post by sjordery »

Hi All,

I've had a search through, but couldn't find what I was after, so... as per the title really. We have a supplier that is considering "upgrading" the XML files they send us from version 1.0 to version 1.1.

As a test, I changed the header line on the input XML from:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1" ?>


to

Code: Select all

<?xml version="1.1" encoding="ISO-8859-1" ?>


Everything else in the file remained the same. I ran my job and it continued to work ok.

Have I missed something, or does this mean we're ok to take v1.1 XML files?

Thanks in advance.

Cheers,
S
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There's more to it than that, for example:

http://www.w3.org/TR/xml11/#sec-xml11

So, unless the underlying parser DataStage uses is already 1.1 compliant, then I'd say no as it sure seems like it would need to change to support all that. Hopefully Ernie will be along and expound on this for us - if anyone knows, he will! We <3 Ernie. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
sjordery
Premium Member
Premium Member
Posts: 202
Joined: Thu Jun 08, 2006 5:58 am

Post by sjordery »

Thanks Craig.

Renewed my Premium membership about 15 mins ago, so will read your full answer later once it gets applied to the account. :)

Cheers,
S
sjordery
Premium Member
Premium Member
Posts: 202
Joined: Thu Jun 08, 2006 5:58 am

Post by sjordery »

Ah, having read that.. am I right to say that putting version="1.1" in the heading wouldn't highlight an issue - problems would come if some 1.1 compliant content (that was not 1.0 compliant) appeared on the files....


Thanks again,
S
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Exactly.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply