Cannot Validate IRS ACA XML agains schema (XSD)

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
jmurray
Posts: 3
Last visit: Thu Sep 10, 2020 8:53 am

Cannot Validate IRS ACA XML agains schema (XSD)

Post by jmurray »

Product, version and build:Primal XML 2018 Version 4.4.47
32 or 64 bit version of product:64-bit
Operating system:Windows 10
32 or 64 bit OS: 64 bit

We are trying to validate XML for the Affordable Care Act reporting and the PrimalXML program does not appear to be working out well for us. We were able to (easily) get it working with notepad++, but since we use the PrimalStudio software much more for other scripting, we would like to continue with the suite.

The primary error we get looks to come from the fact that PrimalXML asks for the namespace for the XSD file, while other XML validation tools do not. We have tried the following: urn:us:gov:treasury:irs:msg:form1094-1095Ctransmitterupstreammessage
but we end up with this error:

Parser Errors:

MS Parser reported this error:
Code = 0xc00ce011
Source = Line : 4740 Char : 37
Error Description = Element '{urn:us:gov:treasury:irs:ext:aca:air:ty17}CoveredIndividualName' cannot be empty according to the DTD/Schema.


Source text where the error occured:

<airty17:CoveredIndividualName/>
------------------------------------^
Parser Errors:

MS Parser reported this error:
Code = 0xc00ce011
Source = Line : 4740 Char : 37
Error Description = Element '{urn:us:gov:treasury:irs:ext:aca:air:ty17}CoveredIndividualName' cannot be empty according to the DTD/Schema.


Source text where the error occured:

<airty17:CoveredIndividualName/>
------------------------------------^


This is not what the output should be according to other "working" programs that also validate XML.
User avatar
Alexander Riedel
Posts: 8473
Last visit: Tue Mar 19, 2024 1:15 am
Answers: 19
Been upvoted: 37 times

Re: Cannot Validate IRS ACA XML agains schema (XSD)

Post by Alexander Riedel »

Could you please email the XSD you use and a small XML file (zipped please) showing the problem to support@sapien.com?
Please make sure to remove any personal information from the XML and substitute it with generic data if this XML contains personal information.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 5 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.