Okay thanks, ive just disabled the expansion with a quick hack to IGXMLScanner2.cpp for now...
If anyone does discover a better way to do this please let me know :) ----- Original Message ----- From: "Alberto Massari" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, April 04, 2006 1:37 PM Subject: Re: how to not expand attribute entity references? > Hi Malcom, > unfortunately entity expansion inside attribute values cannot be > disabled (not even in the DOM parser). > > Alberto > > At 12:35 PM 4/4/2006 +0200, Malcolm MacLeod wrote: > >I still need help with this, its quite urgent... can anyone give me any > >ideas? > >----- Original Message ----- > >From: "Malcolm MacLeod" <[EMAIL PROTECTED]> > >To: <[email protected]> > >Sent: Thursday, March 30, 2006 11:37 AM > >Subject: how to not expand attribute entity references? > > > > > >Hi, im using the sax2reader to parse an xml document. > > > >When my startElement() function gets called and i read teh attributes in my > >program entity references are being expanded. > > > >eg / > ><Foo Bar="©"> > > > >is coming through as a copyright symbol, i need it to come through as is, > >How can i disable this expansion? > > > >I have seen this option in the dom parser but I can't find it for the sax > >parser. > > > >Please help, thanks. > >
