[Mono-list] Error while run program
Arx Henrique
arxcruz@yahoo.com.br
Tue, 03 Aug 2004 14:49:02 -0300
The problem is on xml file
<?xml version="1.0"?>
<links>
<category xmlns="programming">
<address>www.programmershelp.co.uk</address>
<description>programming site</description>
</category>
<category xmlns="progra">
<address>www.prhelp.co.uk</address>
<description>pring site</description>
</category>
</links>
the line
<category xmlns="programming">
with xmlns="programming" is "wrong" (i dont know)
when i take out the xmlns the program run ok!
thanks for all.
[]'s
Arx Henrique
Em Ter, 2004-08-03 às 18:10 +0200, Tim Rädisch escreveu:
> Am Dienstag 03 August 2004 17:54 schrieb Arx Henrique:
>
> Currently I have no documentation available (not at home) but I'm sure this
> exception is raised by an error in the XML file structure, even though I
> can't see an error in the example file.
>
> Tim
>
>
> > The problem was that the program can't find the xml file, now i put they
> > in the same directory of the program and now it's show other error:
> >
> > Unhandled Exception: System.Xml.XmlException: unexpected end of file.
> > Current depth is 1
> > in <0x001ef> System.Xml.XmlTextReader:ReadContent ()
> > in <0x0018e> System.Xml.XmlTextReader:Read ()
> > in <0x007a6> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
> > in <0x002b7> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
> > in <0x0004f> System.Xml.XmlDocument:Load (System.Xml.XmlReader)
> > in <0x0005f> System.Xml.XmlDocument:Load (string)
> > in <0x0005d> DotNetXmlSample.XmlSample:Main (string[])
> >
> > i search in google but i can't find nothing about this.
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list