XSLT transformation non data type error - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

XSLT transformation non data type error

Last post 12-11-2018 12:27 AM by CCBSMF. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 12-10-2018 01:43 PM

    XSLT transformation non data type error

    Hi All. I have a form that was working as of Saturday, but now the transform piece fails with this error: "An error occurred setting the result of the transform. Schema validation found non-data type errors." Any thoughts?
    Filed under: ,
  • 12-10-2018 02:44 PM In reply to

    Re: XSLT transformation non data type error

    Nothing changed? The form wasn't republished? How is the transform applied? I usually test XSLT in Visual Studio so I can see the output... that generally helps me see what I may have missed.... Normally, this error would indicate to me that the data structure of the output doesn't conform to the schema from the main data source.
    Hilary Stoupa

  • 12-10-2018 02:58 PM In reply to

    Re: XSLT transformation non data type error

    Normally I would agree, but I haven't made any changes since it was last working Saturday. It's acting as if something in the MDS is not mapping correctly but for the life of me I can't find it. Can you take a look if I provide the form? I need to have it before 9am tomorrow, should I just contact qdabra support?
  • 12-10-2018 03:07 PM In reply to

    Re: XSLT transformation non data type error

    I'd be happy to take a quick look - if you don't want to post it here, email it to Qdabra Support. But if no changes have been made, it may be pretty hard to find the issue. Can you include a sample XML you were trying to transform?
    Hilary Stoupa

  • 12-10-2018 03:14 PM In reply to

    Re: XSLT transformation non data type error

    attached is the XML file, on the detail view is a table labled rev rec detail. that is the data being transformed into the main DS. I've also provided the xsn with the xslt as a resource file.
  • 12-10-2018 03:16 PM In reply to

    Re: XSLT transformation non data type error

    XML file as requested
  • 12-10-2018 03:33 PM In reply to

    Re: XSLT transformation non data type error

    Can you run the form in preview and output the transform to a string to another field just so we can see the output? For example: Transform /sourceds=rev_rec_detail /destpath=/dfs:myFields/my:filename /xsltfile=ConvertProjectData_RR_test.xslt /tostring=true should output the results to the filename field... then you could copy that out & paste it into a file so we could see the actual output from the transform from inside InfoPath.
    Hilary Stoupa

  • 12-10-2018 04:31 PM In reply to

    Re: XSLT transformation non data type error

    this help?
  • 12-10-2018 11:20 PM In reply to

    Re: XSLT transformation non data type error

    Hello

    I'm seeing a schema validation error from the presence of a my:o_count field in each of the my:task elements, between the my:t_name and my:t_code_name elements.

    Looking at the form's MDS, it indeed does not have an o_count field in the task group (there is an org_count field, but that is something else).

    I know you say you haven't modified the template recently, but the only thing I can imagine is that this field was somehow deleted.

    In order to remedy this issue, I would suggest adding an o_count field to the MDS in the correct location. One other option would be to modify the XSLT to remove the part that creates the o_count element (you can find it by searching the XSLT file for o_count).

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 12-11-2018 12:27 AM In reply to

    Re: XSLT transformation non data type error

    can't believe I didn't see it! thanks a million jimmy!!! :D
Page 1 of 1 (10 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.