how to handle ".dtd" extension xml tag in BizTalk

Home Page Forums BizTalk 2004 – BizTalk 2010 how to handle ".dtd" extension xml tag in BizTalk

Viewing 1 reply thread
  • Author
    Posts
    • #23221

      Hi

      I have to deal with .dtd extension in my xml, I have an xml which starts like  

      <?xml version=”1.0″ encoding=”UTF-8″?>
      <!DOCTYPE Data SYSTEM “http://localhost/Data.dtd“>

      ‘blah

      ‘blah

      />

      so when I try to process this xml file I am getting an error that cannot process “.dtd” extension

      if I take “<!DOCTYPE Data SYSTEM “http://localhost/Data.dtd“>” from xml then biztalk process the message without any error. But in my requirement i have to process the XML file with   “<!DOCTYPE Data SYSTEM “http://localhost/Data.dtd“>” .

      How do I handle this issue to process “.dtd” extension in biztalk.

      If you have any suggestions or answers to handle this requirement, please reply to this post.

      Thanks

    • #23249

      You will need to publish the Data.dtd file on your local web server. i.e at http://localhost

      or convince the person sending the message to remove the DocType declaration

      • #23253

        Thanks for the reply

        the requirement itself has to remove that doctype declaration in biztalk and then process the message, I think this can be removed in the pipeline and do you have any idea how to remove this tag or declaration from the message. 

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.