extended characters in a file name

2003-08-08 Thread Vincent Finn
Hi, I have hit a problem recently where xerces will not parse a file that has extended characters in the file name it is perfectly happy to read them in the file but not in the file name The file name was a fairly random set for testing "éâäàåçêëèïîìÄÅÉæÆôöòùûÿÖÜ£¢¥!--1.xml" is there a work-aro

upgrade from xerces C 2.1 to 2.2

2003-08-27 Thread Vincent Finn
Hi, I have upgraded from xerces C v2.1 to v2.2 and a strange thing is happening The xerces namespace was added between the 2 versions so I put using namespace XERCES_CPP_NAMESPACE; globally The strange thing is that even with the using statement I still have to scope any use of DOMDocument all

RE: upgrade from xerces C 2.1 to 2.2

2003-08-28 Thread Vincent Finn
> I guess you are on Windows; and you are now including the > msxml.h header > that defines DOMDocument too (but as a COM class). So, you need to > disambiguate the symbol by specifying that you want the > Xerces one, not the > MSXML one. thanks to both of you that seems to be it MSXML is in

RE: A design pattern in xerces-c?

2004-01-28 Thread Vincent Finn
I know you mentioned it in your first mail but does Visitor not cover Callback? If you want a design pattern news group try comp.lang.object > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Martin Bosticky > Sent: 28 January 2004 16:15 > To: [EMAIL PROTECTED] > Subjec

splits in character data using SAX

2004-02-23 Thread Vincent Finn
Hi, I have a question about the way DefaultHandler::characters() can send to chunks for a single text element I found an answer of sorts in the mail archive but I am hoping for a bit more certainty The question is when will the characters function split data? Are there specific rules? What I a

RE: splits in character data using SAX

2004-02-23 Thread Vincent Finn
s quite possible the buffer size could change in the future, or the > parser's behavior could change for some other reason. > > Dave > > > > >

RE: splits in character data using SAX

2004-02-25 Thread Vincent Finn
tandard, so > you'll have to experiment with it to see how it works. > > Dave > > > > >

SAX v DOM speed

2004-03-18 Thread Vincent Finn
Hi, I have recently rewritten a class I have to use SAX instead of the DOM I did this because the DOM tree was too large and was taking Gigs of memory SAX takes far less memory but is slower I thought that SAX would be quicker since it seems to be simpler and doesn't create any classes or intern

RE: SAX v DOM speed

2004-03-18 Thread Vincent Finn
it to be > significantly faster. > > > Gareth > > -- > Gareth Reakes, Managing Director +44-1865-811184 > Parthenon Computinghttp://www.parthcomp.com > > > > > On Thu, 18 Mar 2004, Vincent Finn wrote: > > > Hi, >

RE: SAX v DOM speed

2004-03-18 Thread Vincent Finn
March 2004 15:26 > To: Vincent Finn > Subject: Fwd: SAX v DOM speed > > > > Make sure you're using the same scanner for both > DOM and SAX, as well as turning on/off the same > flags (validation, namespaces, etc). I'm not a Xerces expert, but > the defaul

RE: SAX v DOM speed

2004-03-18 Thread Vincent Finn
I use the assign and insert functions which should only require 1 resize per call (at most) and since I never free the memory this should only happen the first few time the function is called I stuck in a reserve just in case but it made no difference > -Original Message- > From: Gareth

RE: SAX v DOM speed

2004-03-18 Thread Vincent Finn
> Why don't you simply comment out your code in the event > handlers, and see > what the performance is like? If the parsing has reached a > speed close to > what you would expect, you can introduce your code bit-by-bit > or profile it > to see where the problems are. yeah I can do that The r

control characters in the Xml

2005-04-05 Thread Vincent Finn
Hi, I know this isn't really a developer question but there isn't a user list so I figured this one might do I have a very simple problem but I can't see the solution anywhere My Xml file has a node with a character of Ascii 1 (the test file is below) Xerces will fail to parse this I have tried

RE: control characters in the Xml

2005-04-05 Thread Vincent Finn
set XML version to 1.1 these characters are legal, > though you must > still escape them. > > Tony Dodd > > >-Original Message- > >From: Vincent Finn [mailto:[EMAIL PROTECTED] > >Sent: 05 April 2005 15:46 > >To: xerces-c-dev@xml.apache.org > >

RE: control characters in the Xml

2005-04-06 Thread Vincent Finn
: xerces-c-dev@xml.apache.org > Subject: RE: control characters in the Xml > > > If you set XML version to 1.1 these characters are legal, > though you must > still escape them. > > Tony Dodd > > >-Original Message- > >From: Vincent Finn [mailto:[E

RE: control characters in the Xml

2005-04-07 Thread Vincent Finn
ment is then correctly serialised > with a 1.1 XML > declaration. But I don't see how that would help with parsing. > > Tony > > >-Original Message- > >From: Vincent Finn [mailto:[EMAIL PROTECTED] > >Sent: 06 April 2005 12:44 > >To: xerces-c-dev@xml.a