using invalid name with Xerces-c

2001-04-24 Thread bertrai
I would like to know if I can (and how) create with Xerces-c an Element which name is not a valid name. Of course, I don't intend to use a parser with it. Thanks for your answer - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Fw: memory leak in transcode ??

2001-04-24 Thread Curt Arnold
See http://xml.apache.org/xerces-c/faq-parse.html#faq-23 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: initialize

2001-04-24 Thread David_N_Bertoni
The documentation make it very clear that you must call PlatformUtils::Initialize() before doing anything. Read the FAQ: http://xml.apache.org/xerces-c/faq-parse.html Dave

Re: initialize

2001-04-24 Thread peiyongz
The XMLPlatformUtils::Initialize() is to perform per-process parser initialization, and MUST and can ONLY be called __FIRST__ and __ONCE__ in any client code. Regards, Peiyong Zhang XML Parsers Development IBM Toronto Laboratory email: [EMAIL PROTE

initialize

2001-04-24 Thread Wayne
Hi, I have a question about the PlatformUtils::Initialize(). Is it safe to do a parse without call this function? thanks, wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: DOM conformance tests

2001-04-24 Thread Dean Roddey
"Thanks for the reference, it does appear that the issue was settled in the DOM WG. I would have personally leaned the other way, preferring to detect and throw an exception when an expression has resulted in a negative count instead of interpreting it as a platform-dependent large number. I pers

RE: DOM conformance tests

2001-04-24 Thread Arnold, Curt
Thanks for the reference, it does appear that the issue was settled in the DOM WG. I would have personally leaned the other way, preferring to detect and throw an exception when an expression has resulted in a negative count instead of interpreting it as a platform-dependent large number. I pe

RE: memory leak in transcode ??

2001-04-24 Thread Jesse Pelton
I assume you're running on Windows. If so, see http://xml.apache.org/xerces-c/faq-parse.html#faq-23. -Original Message- From: Mohammed Zubair [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 2:35 PM To: Xerces Subject: memory leak in transcode ?? The problem occurs when i try to

Re: Sun CC6.0 build

2001-04-24 Thread Alexander Zeyliger
I am working with 6.1 with no problems. First, get the tarball and untar it with gnu tar (the checksum issue is a FAQ). When you build, follow the directions carefully as they are not standard. As for unresolved symbols, make sure you use the same compiler for both xerces and your application

memory leak in transcode ??

2001-04-24 Thread Mohammed Zubair
Hi, i have here a small snippet of code which simulates the problem i am facing. XMLCh *tlocal; tlocal = XMLString::transcode("This is a test"); char *c = XMLString::transcode(tlocal); Problem --> delete [] c; The problem occurs when i try to

Re: DOM conformance tests

2001-04-24 Thread David_N_Bertoni
I agree with Dean. Since the C++ API uses an unsigned value, it is impossible to pass a negative value, since the calling member function has no idea that a parameter was initialized with a negative constant. Dave

RE: Environment variable in the DTD name

2001-04-24 Thread Dean Roddey
If you use a PUBLIC id instead of a SYSTEM id, you can put anything you want into the public part of the PUBLIC id if its just for consumption by your own apps. Then you install an entity resolver (see the Redirect sample), and grab those values from the public id and expand them. --

Environment variable in the DTD name

2001-04-24 Thread Maurel, Frederic
Hello, I am currently using your SAX API on an UNIX machine. I was wondering whether there is a mean in the to use environment variable (like $PATH) to indicate precisely where the DTD can be found ? Orelse, does the SAX parser use an environment variable to locate the DTDs ? Thanks in advance

SAX2-ext package available for Xerces-C?

2001-04-24 Thread Lyman Neuschaefer
Apologies if this question has been asked many times before, but I've not been able to find anything in the FAQ regarding whether a DeclHandler class or its functional equivalent exists in the Xerces-C SAX2 implementation. I especially want to use an element declaration handler. Thanks, Lyman

Re: DOM conformance tests

2001-04-24 Thread Andy Heninger
The use of  unsigned values for the counts come straight from the IDL in the W3C DOM interfaces.  The use of signed values in the DOM Java bindings is because of the limitations of the Java language; there's no point in having signed counts in C++.   int vs long for the C++ counts is a ques

[Bug 1471] New - getInternalSubset returns NDATA with ""

2001-04-24 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1471 *** shadow/1471 Tue Apr 24 06:23:08 2001 --- shadow/1471.tmp.15080 Tue Apr 24 06:23:09 2001 *** *** 0 --- 1,27 + ++ + | getInternalSubset

Reuse of SAX parser object!

2001-04-24 Thread Ravindra Shet
Hi, Can anyone tell me/direct me to literature, on reusing the SAX parser object. Would also be interested in optimization and performance tips. Regards Ravindra Shet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Losing ID's on importNode()

2001-04-24 Thread Evert Haasdijk
Hi all, My application 'copies' part of an XML document into another (using DOM_Document::importNode()). Now, some of the imported DOM nodes have an ID, but I can't retrieve them after importing them (calling DOM_Document::getElementById()) because the document's fNodeIDMap isn't updated on impor