Home Page › Forums › BizTalk 2004 – BizTalk 2010 › How to valdisate XSD against DTD › Re: How to valdisate XSD against DTD
Hi Nick,
I appreciate your suggestion. but i have one EXE which ll create XML validate against one DTD.
Even when i try create xsd file using Add Generated Item -> Document type -> DTD Schema
It gives me following error.
Error parsing DTD:Value cannot be null.
Parameter name: name
Now I have created that XSD using well-formed XML. Using Add Generated Item
Now when i deployed my project in production. i put one xml file in to receive folder i got following error.
There was a failure executing the receive pipeline: “Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” Source: “XML disassembler” Receive Port: “ReceiveNistevoXML” URI: “D:\TestingFolders\ProdData\*.xml” Reason: Could not find file ‘C:\WINDOWS\system32\Shipment.dtd’
I have put shipment.dtd in system32 folder but the error is same. problem is in my XML following tag create error
<!DOCTYPE ShipmentTransaction PUBLIC “Shipment” “Shipment.dtd”>.
If i remove this line everything works fine but i cant remove this line as this line as i upload that file on FTP other system need this file with the same formate.
I am not sure. but Is there any poslibility to create one custome pipeline and get xml from there.
Please suggest me any good solution for this problem.
Regards,
– Dhaval M.