Hi!
I'm having trubble reading my xml file when they contain newline characters.
The problem is that when I call xmlTextReaderLocalName it returns #text instead
of the element name. This is what my xml file looks like:
<?xml version="1.0" encoding="UTF-8"?><TestType> <int8
type="int8">-126</int8> <uint8 type="uint8">249</uint8> <int16
type="int16">-31010</int16> <uint16 type="uint16">65211</uint16> <int32
type="int32">-2147483640</int32> <uint32 type="uint32">4294967290</uint32>
<int64 type="int64">-9223372036854775805</int64> <uint64
type="uint64">9223372036854775804</uint64> <float32
type="float">1598</float32> <float64 type="float64">3489</float64> <string
type="string">"This is a string"</string></TestType>
If I remove all the newline characters and put everything on the same line my
program can read the xml file.
Any ideas what the problem could be?
I'm using libxml2 version 2.7.6, Visual Studio 2008 and Vista 64-bit.
/Michael
_________________________________________________________________
Hitta kärleken i vinter!
http://dejting.se.msn.com/channel/index.aspx?trackingid=1002952
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml