Re: create static library?

2003-03-03 Thread jiang lei
Hi Brice, Static libraries are just pieces of codes and can not be linked with with xercesc alone. You can build your library first, and then link it to your main program, together with xercesc library. As a matter of fact, if you don't build your main program with xerces, your library functions w

Re: Writing out an XML file

2003-03-03 Thread Raghu Nandan
John: Although I have not attempted this code myself, I think the code would look something like this. The variable top would be the document node that would be passed in for printing the whole document. Hoping this is what you are looking for, please let me know if this worked: void printTr

Re: Writing out an XML file

2003-03-03 Thread PeiYong PY Zhang
The sample, DOMPrint is good one. Rgds, PeiYong - Original Message - From: "John Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 5:05 PM Subject: Writing out an XML file > Are there any good examples of how to use Xerces to > write out an XML File. I'm

Re: Writing out an XML file

2003-03-03 Thread Brice Ruth
I was able to follow some of the programming examples in the 'Programming' section of the xerces-c++ site. Look at the docs for DOMBuilder, for example ... it has an example of using DOMSerializer to output an XML file - this is probably what you're looking for. Cheers, Brice. John Meyer wrote:

Writing out an XML file

2003-03-03 Thread John Meyer
Are there any good examples of how to use Xerces to write out an XML File. I'm trying to do this using XMLDocument and XMLElement, but I don't know if I'm doing it right. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://ta

DOCTYPE node

2003-03-03 Thread Raghu Nandan
Folks: When parsing multiple xml scripts all conforming to the same dtd, is it necessary for the script to specify the DOCTYPE node (with the dtd that the script conforms to) in each script even if the parser has been configured to preload and cache the grammar? Any suggestion would be most w

Curious as to any future plans regarding XInclude, XPointer, or XMLCatalog support in Xerces-C

2003-03-03 Thread Craeg K Strong
Greetings: Does anyone have any plans to implement support for XInclude, XPointer, or XML Catalogs? I use the Python bindings (Pyana), and was wondering when/if I might be able to use those features. Thanks in advance, --Craeg

Re: Process Growth

2003-03-03 Thread Raghu Nandan
Thanks PeiYong regards, raghu "PeiYong PY Zhang" <[EMAIL PROTECTED]> on 03/03/2003 03:32:30 PM Please respond to [EMAIL PROTECTED] To:<[EMAIL PROTECTED]> cc: Subject:Re: Process Growth raghu, Sorry for the mistake made, the resetDocumentPool() shall be invoked, which in tu

create static library?

2003-03-03 Thread Brice Ruth
Good afternoon, list members. I am working on a project that I hope to use xercesc in (and am well on my way to doing so). I just determined that the portion of the project I'm working in is actually built into a static library (.a) - which is then used by the main application. To my (somewhat

Re: Process Growth

2003-03-03 Thread PeiYong PY Zhang
raghu, Sorry for the mistake made, the resetDocumentPool() shall be invoked, which in turns, invoke the resetPool() to release the memory allocated for the documents parsed. Rgds, PeiYong - Original Message - From: "Raghu Nandan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Mon

Re: Process Growth

2003-03-03 Thread Raghu Nandan
PeiYong: Thanks for your response. When I look for the documentation for this method in the doxygen pages, I do not see any description. What does this method do? regards, raghu "PeiYong PY Zhang" <[EMAIL PROTECTED]> on 03/03/2003 02:25:12 PM Please respond to [EMAIL PROTECTED] To:<[E

Re: Process Growth

2003-03-03 Thread PeiYong PY Zhang
raghu, It is the resetPool() u need to release the memory allocated for the document parsed. try { parser->resetPool(); parser->parse(xmlFile); } Rgds, PeiYong - Original Message - From: "Raghu Nandan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 0

Process Growth

2003-03-03 Thread Raghu Nandan
Folks: In order to test performance when handling xml scripts, I modified the sample program given in the programming guidelines so that it looped over calls to the parser. To make matters simple, I just used the same xml script for each iteration. I notice that there is a significant growth

DO NOT REPLY [Bug 13436] - Deprecated standard C++ headers in StdOutFormatTarget.cpp

2003-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Simple makefile?

2003-03-03 Thread Esther Parrilla Endrino
Hello all! I have modified the DOMCount.cpp example that comes with Xerces samples to make a very simple application that validates an XML file against its schema... I successfully compile and execute the application but the problem is that the makefiles that comes to run the samples are very c

Re: Refactoring ...

2003-03-03 Thread Jacques Légaré
On March 3, 2003 03:54 am, Gareth Reakes wrote: > Hi, > thats great. Could you open a Bugzilla entry and attach the diff? Done ... it's 17589. Although I inlined the diff. Salut, Jacques - To unsubscribe, e-mail: [EMAIL PR

DO NOT REPLY [Bug 17589] New: - Refactoring ...

2003-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Extracting custom attributes and annotations from schema in Xerces

2003-03-03 Thread Kai Brüning
Hi Peter, I have found your letter below in the Xerces-C mail list. I plan to annotate schemas with both namespaced attributes and annotations and use this information in my application. As far as I can see from the Xerxes source code (2.2.0), neither custom attributes nor annotations are pres

[Pathan-devel] Xerces 2.2 binaries (gcc 2.95) (fwd)

2003-03-03 Thread Gareth Reakes
Message from our sys admin. Gareth -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limitedhttp://www.decisionsoft.com XML Development and Services -- Forwarded message -- Date: Mon, 3 Mar 2003 10:58:51 + From: Stephen W

Re: Refactoring ...

2003-03-03 Thread Gareth Reakes
Hi, thats great. Could you open a Bugzilla entry and attach the diff? cheers, Gareth On Sun, 2 Mar 2003, Jacques Légaré wrote: > Hi Everyone, > > I've been running the XML Conformance Tests through Xerces C++ using a > hacked-up version of the SAX2Print sample. In tracking down test

DO NOT REPLY [Bug 13429] - Text in part of the Programming/Parsing FAQ is truncated/missing

2003-03-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu