|
Home > Archive > BizTalk Server General > May 2005 > DTD declaration in an inbound xml file
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
DTD declaration in an inbound xml file
|
|
| SalamElias 2005-05-12, 7:51 am |
| I have one of our partners sending an xml message as follows (including the
DTD) declaration)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE OrderResponse SYSTEM "OrderResponse.dtd">
<OrderResponse>
......
......
My server is Win2000, BTS 2002
I have placed the dtd file in the directory where I receive the xml files
but still I am getting parsing error failure.
Is it possible to declare somewhere in the BT editor this dtd in order the
xml get validated
Thanks
| |
| WenJun Zhang[msft] 2005-05-13, 7:56 am |
| Hi,
You should import the DTD as XDR schema first, and then create
document specification based on that XDR. After that you can use the
specification to receive and validate those xml files.
Please refer to:
Importing DTDs
http://msdn.microsoft.com/library/d...ary/en-us/bts_2
002/htm/lat_xmltools_editor_concept_hdfj.asp
Create a specification based on an imported file
http://msdn.microsoft.com/library/d...ary/en-us/bts_2
002/htm/lat_xmltools_editor_check_xxbk.asp
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
| |
| SalamElias 2005-05-14, 1:16 pm |
| Thanks for the response. This is exactly what I have done. The problem is
later, when the partner sends his xml order response in which there is the
declaration, it doesn't go through the channel
So the question is How can I tell BTS not to take into consideration this
dtd declaration or strip it off.....
Best regards,
salam
""WenJun Zhang[msft]"" wrote:
> Hi,
>
> You should import the DTD as XDR schema first, and then create
> document specification based on that XDR. After that you can use the
> specification to receive and validate those xml files.
>
> Please refer to:
>
> Importing DTDs
> http://msdn.microsoft.com/library/d...ary/en-us/bts_2
> 002/htm/lat_xmltools_editor_concept_hdfj.asp
>
> Create a specification based on an imported file
> http://msdn.microsoft.com/library/d...ary/en-us/bts_2
> 002/htm/lat_xmltools_editor_check_xxbk.asp
>
> Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
| |
| WenJun Zhang[msft] 2005-05-16, 7:47 am |
| Hi Salam,
Then what's the detail of the parser error you met? Have you test the
specification with some document instances in biztalk editor?
You may send the dtd and sample doc to me at:
v-wzhang@online.microsoft.com (please remove online.). I'll be gald
to help you look into it as well.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
|
|
|
|
|