Cannot Validate IRS ACA XML agains schema (XSD)

Support for all customers who have purchased a PrimalXML product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
jmurray
Posts: 3
Joined: Sun Mar 03, 2013 12:41 pm

Cannot Validate IRS ACA XML agains schema (XSD)

Post by jmurray » Thu Mar 29, 2018 7:46 am

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: 6515
Joined: Tue May 29, 2007 4:43 pm

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

Post by Alexander Riedel » Thu Mar 29, 2018 7:58 am

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.