Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XmlException: Name cannot begin with the '.' character, hexadecimal value 0x00.

From: "Junfeng Dong" <junfeng.dong@---------.--->
To: NULL
Date: 6/1/2006 5:37:00 PM

Can you provide me the data.config file?

Thanks,
Junfeng

"maya" <maya.pollack@g...> wrote in message 
news:1148887539.112929.97300@u......
> Hello,
>
> My application loads XML file and updates its content. The steps are:
>
> 1. ;()XmlDocument m_doc = new XmlDocument
> 2. ;("m_doc.Load("c:\\inetpub\\wwwroot\\folder\\data.config
> 3. making updates to the file attributes
> 4. ;(XmlTextWriter wrtr = new XmlTextWriter(filePath, Encoding.Unicode
> 5. ;(this.m_doc.WriteTo(wrtr
> 6.  ;()wrtr.Flush
> 7. ;()wrtr.Close
>
> After performing these stemps once, and trying to load again the file
> (step 1), I get the following exception:
> XmlException
> Name cannot begin with the '.' character, hexadecimal value 0x00.
>
> even though I am able to open the file manually.
>
> Any suggestions what to do ?
>
> Thanks,
>
> Maya
> 




transparent
Print
Mail
Like It
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