1 or more inputs was invalid/input card valid in trace file?

Formally known as "Mercator Inside Integrator 6.7", DataStage TX enables high-volume, complex transactions without the need for additional coding.

Moderators: chulett, rschirm

Post Reply
kdimitri
Participant
Posts: 1
Joined: Fri May 19, 2006 9:58 am

1 or more inputs was invalid/input card valid in trace file?

Post by kdimitri »

I have a problem while executing a data validation map with an XML file. The Command Server window shows me the right number of objects traited for the input but there is no output and the message is :"One or more inputs was invalid".

I execute the map another time, but with a trace and now I can read in the trace : "INPUT 1 was valid.". And I still have my error message in my Command Server window...

The interesting thing is that when I look at the more detailed trace, I can see this type of message :

External Parser returned Error:
TYPE X'0002' (Error (-9), "XMLParser: Could not find type to assign XML data."
No type to assign mixed data was found
[element name: ListeFluxInteret, namespace: , current input data offset: 74129]

Error (-9), "XMLParser: Could not find type to assign XML data."
No type to assign mixed data was found
[element name: ListeFluxInteret, namespace: , current input data offset: 1308585]

Error (-9), "XMLParser: Could not find type to assign XML data."
No type to assign ).


I someone could explain me this error and how to correct this, I would be gratefull...
janhess
Participant
Posts: 201
Joined: Thu Sep 18, 2003 2:18 am
Location: UK

Post by janhess »

It looks like a bug. Send it to IBM suport.
manojmmx
Participant
Posts: 8
Joined: Tue May 09, 2006 2:45 am
Location: Pune

Re: 1 or more inputs was invalid/input card valid in trace f

Post by manojmmx »

I guess you need to place the DTD or Schema (from which you imported your Tree) at correct path with respect to your executable map.
The compiled map has reference to the schema/DTD, check at DOC element's properties : Intent >Validate As> Metadata Location. You need to keep the xsd or dtd at this path.
Let me know if this works.
zamzam
Participant
Posts: 4
Joined: Fri Apr 29, 2011 10:18 am
Location: Luxembourg

Post by zamzam »

i have exactly the same problem.
I imported an XSD A containing a namespace to an other XSD B
Import was successful, and i got 1 tree containing both tags

When i compile, all is ok but when i execute the map there is an error.

I check DOC element's properties and it has the good XSD A location.

I found nowhere a link to the XSD B ... and the tag in the error message is declared in XSD B


I think there is a critical bug somewhere ...
blewip
Participant
Posts: 81
Joined: Wed Nov 10, 2004 10:55 am
Location: London

Re: 1 or more inputs was invalid/input card valid in trace f

Post by blewip »

kdimitri wrote: I someone could explain me this error and how to correct this, I would be gratefull...
It just looks like the XML file does not match the type tree.

How did you generate the type tree, from XSD or DTD?

Does the XML file validate against the XSD?

Are you using the ability to do XSD validation at run time, I wasn't sure if your version 7.x has this ability?
Modern Life is Rubbish - Blur
zamzam
Participant
Posts: 4
Joined: Fri Apr 29, 2011 10:18 am
Location: Luxembourg

Post by zamzam »

for me :
-WTX version 8.3.0.2
-right click-> validation on XML in WTX is ok
-import from XSDs with Xerces
blewip
Participant
Posts: 81
Joined: Wed Nov 10, 2004 10:55 am
Location: London

Post by blewip »

zamzam wrote:for me :
-WTX version 8.3.0.2
-right click-> validation on XML in WTX is ok
-import from XSDs with Xerces
Not sure that your issue is the same, for instance you have version 8 and you are using Xerces. I'm not sure this functionality is there in the version the original issue was posted.

Post your error, or better still post a new issue if it appears to be different
Modern Life is Rubbish - Blur
zamzam
Participant
Posts: 4
Joined: Fri Apr 29, 2011 10:18 am
Location: Luxembourg

Post by zamzam »

ok

now it is here : viewtopic.php?p=395687#395687
why make standards if we always change them ?
Post Reply