[xml] Two semantically identical files are being treated differently

2007-02-21 Thread David Grohmann
These 2 files have an element PruningSection which contain en element Channels that contains some text. These 2 files are extremely similar and I dont think they should be creating a node Tree any different than each other. 1) Why are these coming out different? 2) Is there a method (or

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread David Grohmann
using libxml2 2.6.26 David Grohmann wrote: These 2 files have an element PruningSection which contain en element Channels that contains some text. These 2 files are extremely similar and I dont think they should be creating a node Tree any different than each other. 1) Why are these coming

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread Jason Viers
David Grohmann wrote: These 2 files have an element PruningSection which contain en element Channels that contains some text. These 2 files are extremely similar and I dont think they should be creating a node Tree any different than each other. Yes, they should. Whitespace between XML

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread Jason Viers
Jason Viers wrote: David Grohmann wrote: These 2 files have an element PruningSection which contain en element Channels that contains some text. These 2 files are extremely similar and I dont think they should be creating a node Tree any different than each other. Yes, they

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread David Grohmann
Jason Viers wrote: Jason Viers wrote: David Grohmann wrote: These 2 files have an element PruningSection which contain en element Channels that contains some text. These 2 files are extremely similar and I dont think they should be creating a node Tree any different than each

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread David Grohmann
Jason Viers wrote: Jason Viers wrote: David Grohmann wrote: These 2 files have an element PruningSection which contain en element Channels that contains some text. These 2 files are extremely similar and I dont think they should be creating a node Tree any different than each

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread Jason Viers
David Grohmann wrote: the call I'm using is this xmlReadFile( document_filename, NULL, XML_PARSE_PEDANTIC ) are you saying that if i change XML_PARSE_PEDANTIC to XML_PARSE_NOBLANKS it will parse them exactly the same? They SHOULD be parsing the same anyway, don't know why they're not.

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread Jason Viers
David Grohmann wrote: But is there a better way to get at that data than manually following pointers like I was showing in the GDB prompts? Nope, following children and next pointers is the way you get around the trees. Jason ___ xml mailing list,

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread Liam R E Quin
On Wed, 2007-21-02 at 15:59 -0600, David Grohmann wrote: [...] .But is there a better way to get at that data than manually following pointers like I was showing in the GDB prompts? The XPath interface is higher level, if that helps. Liam -- Liam Quin - XML Activity Lead, W3C,

Re: [xml] Two semantically identical files are being treated differently

2007-02-21 Thread David Grohmann
Jason Viers wrote: David Grohmann wrote: But is there a better way to get at that data than manually following pointers like I was showing in the GDB prompts? Nope, following children and next pointers is the way you get around the trees. Jason