Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XmlException: Name cannot begin with the '.' character, hexadecimal value 0x00. [Thread Next] Re: XmlException: Name cannot begin with the '.' character, hexadecimal value 0x00.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
>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
