Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: about XmlDocument .Save()

From: "Junfeng Dong" <junfeng.dong@---------.--->
To: NULL
Date: 6/2/2006 10:59:00 AM

\xEF \xBB \xBF

This is a BOM to indicate encoding.

As in the case of extra "[]" in DocType, we fixed this bug in new release. 
However, the new release won't be availalbe anytime soon.

Thanks,
Junfeng

"Susan Kong" <susan@3...> wrote in message 
news:%23p06L9hhGHA.5104@T......
>
> Hi there,
>
> When I use the XmlDocument class Save() method to save a
> document to a file, the file contains the following three
> bytes at the beginning.
>
> \xEF \xBB \xBF
>
> and more, I found braket [ ] is added in DOCTYPE part like.
>
> <!DOCTYPE MyType SYSTEM "test.dtd"[]>
>
> Here is my code:
>
> XmlDocument objXmlDoc = new XmlDocument();
>
> objXmlDoc.Load("C:\\DotNet\\My Test\\test.xml");
>
> objXmlDoc.Save("C:\\DotNet\\My Test\\testNew.xml");
>
>
> Any reason behind this?
>
> Thanks for any response.
>
> Susan
>
> 




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent