Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - about XmlDocument .Save() [Thread Next] Re: about XmlDocument .Save()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
>
>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
