Re: Changing include to include/xercesc - Summary and Vote

2001-08-20 Thread Martin Kalen
- Original Message - From: "Murray Cumming" <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 5:10 PM Subject: Re: Changing include to include/xercesc - Summary and Vote > > I said that I would > > gladly welcome a major change to directory/make-structure if it was just > > that - a maj

Re: Changing include to include/xercesc - Summary and Vote

2001-08-20 Thread Murray Cumming
Martin Kalen wrote: > > (The following is a personal response and may or may not be in line with my > company's official opinions.) > > - Original Message - > From: "Murray Cumming" <[EMAIL PROTECTED]> > Sent: Monday, August 20, 2001 5:48 PM > Subject: Re: Changing include to include/xer

Re: Changing include to include/xercesc - Summary and Vote

2001-08-20 Thread Martin Kalen
(The following is a personal response and may or may not be in line with my company's official opinions.) - Original Message - From: "Murray Cumming" <[EMAIL PROTECTED]> Sent: Monday, August 20, 2001 5:48 PM Subject: Re: Changing include to include/xercesc - Summary and Vote > You should

RE: Encoding problems

2001-08-20 Thread Williamson, Siehnai
Title: RE: Encoding problems Thanks. Siehnai Williamson DocuCorp International, Inc. -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent:   Monday, August 20, 2001 3:41 PM To: [EMAIL PROTECTED] Subject:    Re: Encoding problems No wonder the parser

Encoding problems

2001-08-20 Thread Williamson, Siehnai
Title: Encoding problems Here's the file I'm testing with. <> -Original Message- From:   Williamson, Siehnai [SMTP:[EMAIL PROTECTED]] Sent:   Monday, August 20, 2001 3:14 PM To: '[EMAIL PROTECTED]' Subject:    Encoding problems Hi, I'm trying to parse (SAX parser)

Remove schema support?

2001-08-20 Thread Houle, Dennis W
Team Xerces-C, Is there a top-level schema dependency that I can remove from 1.5.1 so that make will no longer build-in schema support? I have no requirement for schema and would like to tailor it out of my memory constrained embedded application (plus my antique GNU 2.7.2 compiler is getting an

RE: Linking with Xerces as a static library with VC++?

2001-08-20 Thread Julia Larson
Hi! thanks for responding. Yes I've tried that. And I get the following horrible link errors: Thanks for any more clues -Julie Configuration: NeuroServerNSE - Win32 Release MinDependency The NeuroServer Multi-vRep Controller service is not started. More

Encoding problems

2001-08-20 Thread Williamson, Siehnai
Title: Encoding problems Hi, I'm trying to parse (SAX parser) a document utilizing the UTF-16 encoding, but I keep getting an error.  It appears that the line in XMLReader::XMLReader()     fEncoding = XMLRecognizer::basicEncodingProbe(...) always returns fEncoding = UTF-8, eventho

Re: Linking with Xerces as a static library with VC++?

2001-08-20 Thread peiyongz
Julia, You may build the XercesClib using "MultiThreaded" instead of "MultiThreaded DLL". .downlaod the source package .in MSVC, project->setting->clikc on XercesLib ->C/C++-> Category->Code Generation, from Use run-time libra

Document root element is missing

2001-08-20 Thread Julia Larson
What does it mean to get this error: Here is the XML "\r\n\r\n\tMessage here\r\n" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Linking with Xerces as a static library with VC++?

2001-08-20 Thread Julia Larson
Hello, We have a huge product that uses all static libraries built with the "Multithreaded" run-time library option. Xerces uses the "Multithreaded DLL" which produces horrible link errors when I try to link with the library in release mode. What can I do about this? Please help Thanks -Juli

Validating DTD

2001-08-20 Thread Avula, Raj
Hi All, I want to know, If there is any way to validate the DTD using xerces C++ API. Also is there any way to catch the events thrown by DTD while parsing. Thanks, Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Changing include to include/xercesc - Summary and Vote

2001-08-20 Thread Murray Cumming
"Jason E. Stewart" wrote: > > Subject: Re: ["Tinny Ng" <[EMAIL PROTECTED]>] Changing include to include/xercesc - >Summary and Vote > Date: Mon, 20 Aug 2001 01:55:34 -0700 > From: "Randolph Chung" <[EMAIL PROTECTED]> > To: "Jason E. Stewart" <[EMAIL PROTECTED]> > References: <[EMAIL PROTECTED]>

UTF-16, UCS-4 encodings

2001-08-20 Thread Williamson, Siehnai
Title: UTF-16, UCS-4 encodings My document header does specify the "UTF-16" encoding, and it still throws an error.  Does the document have to look a certain way for it to work? -Original Message- From:   Doug Brower [SMTP:[EMAIL PROTECTED]] Sent:   Friday, August 17, 2001 1:57 PM

Re: Changing include to include/xercesc - Summary and Vote

2001-08-20 Thread Jason E. Stewart
Hi, No, I don't follow the xerces list. Thanks for the heads up. The header include directory certainly has been an issue. I've even had some bugs filed against it FWIW I think the proposed solution is definitely better than what we have now. It'd be also great if upstream would make thei

RE: xerces c++ parser does not parse new xml after reset

2001-08-20 Thread Jordan C N Chong
Dear Tinny Thousand thanks. I will try it out :D... You have helped me much than I expected... Wish you all the best Best regards, Jordan Cheun Ngen, Chong Room 4067 Distributed and Embeded Systems Group Centre for Telematics and Information Technolo

Re: xerces c++ parser does not parse new xml after reset

2001-08-20 Thread Tinny Ng
XMLPlatformUtils::Initialize()/Terminate(); should be OUTSIDE the body of "function". The XMLPlatformUtils::Initalize()/Terminate(); can only be called once within the entire application. Tinny Jordan C N Chong wrote: > Dear Tinny > > Thanks again for your valuable time and help... > > This is

RE: xerces c++ parser does not parse new xml after reset

2001-08-20 Thread Jordan C N Chong
Dear Tinny Thanks again for your valuable time and help... This is the code: // path: the path and the file name void function(char *path) { // Parse the license with XML4C XMLPlatformUtils::Initialize(); DOMParser parser; parser.parse(path); doc = pars

Re: xerces c++ parser does not parse new xml after reset

2001-08-20 Thread Tinny Ng
Elliott Perkins wrote: > [snipped] The question > is "how do you use DOMParser to parse multiple XMLs within the same > session"? Other than the call to XMLPlatformUtils::Initialize(), are > there other initialization calls that are required in order to setup the > DOMParser? You cannot call

RE: DOMParser memory leak happens when parse another document!!

2001-08-20 Thread Jordan C N Chong
Hi, Thanks for your help. I don't understand. I am writing an application (windows application) that open an XML document and parse it. The first time I open an XML document and parse it, there is no problem. I close the XML document, and then reopen it and then parse it again, then the problem

Re: DOMParser memory leak happens when parse another document!!

2001-08-20 Thread Tinny Ng
Is the code you appended being called multiple times within the same process? You cannot call XMLPlatformUtils::Initialize(); again after XMLPlatformUtils::Terminate(); within the same process. See http://xml.apache.org/xerces-c/faq-parse.html#faq-25 for further detail. Tinny Jordan C N Cho

Re: Problem with jp-euc and shift-jis

2001-08-20 Thread Tinny Ng
Please try the latest distribution Xerces C++ 1.5.1 which may have fixed your problem. Tinny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: About License!!

2001-08-20 Thread Doug Brower
The general answer to your question is, "Yes." For details, though, read the license agreement that comes with the Xerces distribution carefully. -Original Message-From: wayne [mailto:[EMAIL PROTECTED]]Sent: Sunday, August 19, 2001 11:13 PMTo: [EMAIL PROTECTED]Subject: About

[DO NOT REPLY: Bug 3170] New: URLs with ? type fragments in them don't work.

2001-08-20 Thread bugzilla
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3170

RE: HELP! Page faults, when running DOMParser on windows NT

2001-08-20 Thread Erik Rydgren
Thank you Derek! I didn't know before that you can manipulate how the linker places functions in the exe or dll. Our application will definately benifit from this. Now I just have to convince my boss :) Best regards Erik Rydgren -Original Message- From: Derek Harmon [mailto:[EMAIL PROT

Re: HELP! Page faults, when running DOMParser on windows NT

2001-08-20 Thread Derek Harmon
"Shlomi Afia" wrote: > I got about 500 page faults per second(!) on this simple example code. > Although it looks like "soft" page faults (there is no disk activity > involved), it's still too high. You can try optimizing the Working Set of the DLL to your client application's behavior, to reduce

RE: HELP! Page faults, when running DOMParser on windows NT

2001-08-20 Thread Shlomi Afia
Thank you very much Erik. If this is how DOM uses memory, I guess I don't have a choice but to use SAX. Regards, Shlomi -Original Message- From: Erik Rydgren [mailto:[EMAIL PROTECTED]] Sent: Mon, August 20, 2001 11:24 AM To: [EMAIL PROTECTED] Subject: RE: HELP! Page faults, when running

RE: HELP! Page faults, when running DOMParser on windows NT

2001-08-20 Thread Erik Rydgren
Just for a thought... How many parses do you get in a second then? And how many page faults is there for each parse? How much memory is 500 page faults? You get a page fault for each page the program allocates (cache heatup). And 5000 bytes is at least 2 pages (depending on processor) without an

Re: Xerces C++ Lib on Window NT using CodeWarrior

2001-08-20 Thread Michael D. Crawford
> Does any one have any experience building Xerces C++ library on Windows NT > with CodeWarrior compiler ? I did it last year. I have a project and the platform specific files that work OK with it. The main problem is that the Win32Transcoder provided by Xerces, at least at the time I did it,

Re: Changing include to include/xercesc - Summary and Vote

2001-08-20 Thread Murray Cumming
Martin Kalen wrote: > > Martin Kalen:NO/-1 > > We use Xerces-C on Windows NT4/2000, HP-UX, Linux, Solaris, AIX, > OpenServer, UnixWare and Tru64 so I am neither pro-UNIX or pro-Windows. > > We have numerous hours invested in integrating the Xerces-C directory- and > make-structure into our

Re: Changing include to include/xercesc - Summary and Vote

2001-08-20 Thread Murray Cumming
"Arnold, Curt" wrote: > > Sorry, some more *nix novice questions. > > If trying to get Xerces in the distributions is primarily to allow already compiled >code to run without having to provide the .so's, would an binary/runtime drop that >did not have header files resolve > the collision issue

RE: HELP! Page faults, when running DOMParser on windows NT

2001-08-20 Thread Shlomi Afia
Well, I'm using the NT's Performance Monitor, and I'm examining the "Page Faults/sec" counter on the "Process" object. You can easily see the problem on the Task Manager too, if you select the "Page Faults" and "Page Faults Delta" Columns. I got about 500 page faults per second(!) on this simple

DOMParser memory leak happens when parse another document!!

2001-08-20 Thread Jordan C N Chong
hi all, I tried to use the DOMParse to parse the same XML document in the same session, but always ends up memory leak problem... and the whole application just crashed. I found that the problem happens at the "DOMParser parser;". The following codes is the snipplet of my codes... Please help. I