RE: XPath expression question.

2003-09-22 Thread Ashay Shende
Thanks Eric, It worked and gave me the desired result. Thanks again for the speedy reply. AS. -Original Message- From: Erik Rydgren [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 12:38 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: XPath expression question. elem[

DO NOT REPLY [Bug 23318] New: - link error XMemory defination not found

2003-09-22 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

Re: Install bug?

2003-09-22 Thread Gareth Reakes
Hi, it is unlikely that we have not noticed that you cannot build xerces (I do it several times a day myself). What is your XERCESCROOT set to? Gareth On Sun, 21 Sep 2003, Allen Williams wrote: > I think I found a bug in the xerces 2.3 install. When it went to make the > parsers, non

Re: v2.3.0 DOMWriter question

2003-09-22 Thread Gareth Reakes
Hi, use the writeToString method and then transcode to whatever you want. Gareth On Sun, 21 Sep 2003, Hieu Bui wrote: > Hi, > > I am using Xerces 2.3.0 and am using the DOMWriter to serialize a DOMNode. I have > things working so that the node is written to a file however I want the

DO NOT REPLY [Bug 23318] - link error XMemory defination not found

2003-09-22 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

Re: FW: Validation against XML schema without internet connection

2003-09-22 Thread Gareth Reakes
Hi, there is not an example of this in the samples (if you want to write one then that would be great). Take a look at DOMEntityResolver. Make your own one of these and the setEntityResolver on your parser. To start with you could just print out what the parameters are. Then you will ne

DO NOT REPLY [Bug 23288] - XMLFormatter.hpp中注释信息有误

2003-09-22 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

DO NOT REPLY [Bug 23288] - XMLFormatter.hpp中注释信息有误

2003-09-22 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

RE: Install bug?

2003-09-22 Thread Adam Heinz
Something I noticed on the Windows (and Macintosh) install that may be relevant to your problem: The binary distribution installs headers into /include, and purposefully does not contain any *Impl. The source distribution installs headers and source into /src, and does contain the *Impl files.

Deleting something returned by XMLString::replicate crashes when application is using the release build of Xerces-C++ ?

2003-09-22 Thread Emmanuel Taf
Hi all, I am using Visual C++ v6.0 sp5 on Windows XP sp1 and xerces-c++ version 2.3.0. I try to execute the following example (compiling as a single threaded run-time library, and linking with xerces binary either downloaded (or recompiled as single-threaded library : pb is the same)) : ... int

Re: v2.3.0 DOMWriter question

2003-09-22 Thread Hieu Bui
This worked perfectly. Thanks for the help! Regards, --Hieu -- - Original Message - DATE: Mon, 22 Sep 2003 09:35:57 From: Gareth Reakes <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Cc: >Hi, > use the writeToS

Re: FW: Validation against XML schema without internet connection

2003-09-22 Thread Hieu Bui
Hi, I've tried looking at the documentation for DOMEntityResolver and have not had much luck implementing what I need. Does anyone have any sample code to use a local version of the DTD (DTD file stored locally) for parsing instead of the externally referenced DTD? TIA, --Hieu -- -

DO NOT REPLY [Bug 23197] - App using xercesc1_7_0 is crashing on solaris 2.8

2003-09-22 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

RE: please help: Internal entity resolution.

2003-09-22 Thread Tarkus, Anand (LNG-DAY)
thanks for the response Michael. But my application receives this XML document from another application, unfortunately the DTD is not available. could there be a way such that the parser would avoid resolving these entities altogether? I tried to make it a non-validating parser saxParser->setFea

DOMLocator does not return a DOMElement

2003-09-22 Thread Larry Rosenzweig
Hello, I am having a problem with Xerces C++ 2.3.0 where I am getting back a DOMText node from DOMLocator::getErrorNode(), instead of a DOMElement that I was expecting. I need to store all of the DOMElement nodes that generate errors when parsing (using a DOMBuilder), so I can refer to them

Re: FW: FW: Validation against XML schema without internet connection

2003-09-22 Thread Hieu Bui
Hi Anand, Thanks for the response and the URL for more info. I actually have hooked up my local entity resolver and the parser is calling the function. However, my one last problem is that I cannot seem to point it correctly to my local DTD file. I am finding the systemID and comparing it corre

Re: FW: FW: Validation against XML schema without internet connection

2003-09-22 Thread Hieu Bui
Hi Anand, Thanks for the response and the URL for more info. I actually have hooked up my local entity resolver and the parser is calling the function. However, my one last problem is that I cannot seem to point it correctly to my local DTD file. I am finding the systemID and comparing it corre

Re: FW: FW: Validation against XML schema without internet connection

2003-09-22 Thread Hieu Bui
Hi Anand, Thanks for the response and the URL for more info. I actually have hooked up my local entity resolver and the parser is calling the function. However, my one last problem is that I cannot seem to point it correctly to my local DTD file. I am finding the systemID and comparing it corre

Re: FW: FW: Validation against XML schema without internet connection

2003-09-22 Thread Hieu Bui
Hi Anand, Thanks for the response and the URL for more info. I actually have hooked up my local entity resolver and the parser is calling the function. However, my one last problem is that I cannot seem to point it correctly to my local DTD file. I am finding the systemID and comparing it corre

Re: FW: FW: Validation against XML schema without internet connection

2003-09-22 Thread david_n_bertoni
You cannot just cast a const char* to a DOMInputSource. Do yourself a favor, and never use another C-style cast again -- it will make your life easier. Try: XMLCh buffer[1024]; XMLString::transcode("c:\\temp\\Catalog.dtd", buffer, sizeof(buffer) - 1); return new Wrapper4In