Topic
3 replies Latest Post - ‏2014-07-30T07:34:01Z by wtx_genie
Muk1234
Muk1234
22 Posts
ACCEPTED ANSWER

Pinned topic Output XML should validate against the XSD used in the Output card

‏2013-01-21T05:43:37Z |
Hello All, I am able to generate output xml successfully using a xsd in the output card. But the problem is, there is a tag whose value is not in the enumeration list in the xsd. Is there any way where the map should give me an error or warning while generating an xml? The xml generated should successfully validate against the xsd. e.g. The xsd enumeration values expect'ach','chk',or 'csh' . But the xml value generated is 'eft' which is not facet-valid with respect to the enumeration. Any help/suggestion is appreciated.

Regards
Muks
Updated on 2013-01-22T19:21:21Z at 2013-01-22T19:21:21Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6184 Posts
    ACCEPTED ANSWER

    Re: Output XML should validate against the XSD used in the Output card

    ‏2013-01-22T19:21:21Z  in response to Muk1234
    The DocumentVerification setting on the output card should do what you want. See the Map Designer help pages: Map Designer > Card settings > Input and output card settings > DocumentVerification.
    • Muk1234
      Muk1234
      22 Posts
      ACCEPTED ANSWER

      Re: Output XML should validate against the XSD used in the Output card

      ‏2013-08-01T06:35:18Z  in response to SystemAdmin

      Hi, The Document Verification setting works only for the input card . On the output card , the settings only check for the external structure and not the enumeration values. so when the output xml is generated , the xml values are not in accordance with the enumeration values specified in xsd used on output card. This issue cropped up again... Please help

       

       

      Regards

      Muks

  • wtx_genie
    wtx_genie
    13 Posts
    ACCEPTED ANSWER

    Re: Output XML should validate against the XSD used in the Output card

    ‏2014-07-30T07:34:01Z  in response to Muk1234

    Hi Muks,

    Try to call run function in the next outputcard and call the submap one to one xml map(input from first output card), if valid it will return the output or else it will fail to generate the output and returns the map error code. final output must be populated from the second outputcard and suppress the first output card by using sink adapter.

    Thanks,

    Genie

    Updated on 2014-07-30T07:35:44Z at 2014-07-30T07:35:44Z by wtx_genie