Page 1 of 1

Cannot Validate IRS ACA XML agains schema (XSD)

Posted: Thu Mar 29, 2018 7:46 am
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.

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

Posted: Thu Mar 29, 2018 7:58 am
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.