Conversion from XMLByte* to char*

2002-03-14 Thread Brad Settlemyer
Hello What is the recommended way to translate from char* to XMLByte*? Thanks Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: finding the "current" InputSource

2002-03-14 Thread Dean Roddey
XMLScanner is an internal implementation, so you take your own chances if you use it since it could change any time. This is most likely why it isn't documented, since they don't want to accept the responsibility for people using it. Actually, some more abstract API could be added to the DOM pars

Re: finding the "current" InputSource

2002-03-14 Thread Joanne Bogart
Thanks, Dean. This is the kind of thing I was looking for, if more convoluted than I was expecting (I'm using DOM). One reason I didn't find it on my own is that XMLScanner's methods aren't documented. I assume it's just an oversight. Can someone fix it? Even if the XMLScanner documentation ju

Re: finding the "current" InputSource

2002-03-14 Thread Dean Roddey
If you get the current top level XMLReader, it would have the fully qualified system id of the current entity. If you are using SAX, then if you use the locator interface, the locator will give you access to the system id. Otherwise, you can ask the parser for a reference to the scanner, which has

finding the "current" InputSource

2002-03-14 Thread Joanne Bogart
Hi, I'm working on an EntityResolver because I want to be able to use environment variables when referring to external entities, but I don't see any easy way, and maybe no way at all, to handle a filespec which contains an environment variable *and* is relative. In practice I wouldn't expect th

DO NOT REPLY [Bug 7134] New: - segfault in UnixHTTPURLInputStream::UnixHTTPURLInputStream ()

2002-03-14 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

Better doc. of runConfigure, please

2002-03-14 Thread David Starks-Browning
Or use GNU autoconf, then everyone would already know how to use it. What is the reason it's not used? Technical? Philosophical? Lack of interest? Lack of resources? Thanks, David On Thursday 14 Mar 02, Joanne Bogart writes: > Hi, > > Could someone add just a little more information to >

Better doc. of runConfigure, please

2002-03-14 Thread Joanne Bogart
Hi, Could someone add just a little more information to http://xml.apache.org/xerces-c/build-winunix.html#UNIX or, better still, to the runConfigure script itself to explain some of the options? In particular I'd like to know * what the default is for any option that has one * something

Re: Xerces c++ parser + icu + borland c++ builder ??

2002-03-14 Thread Alper Ozer
As far as I understand, a true xml based unicode development on c++ builder seems hard and challenging :( I searched borland site and other mailing lists, there is no evidence(any other supplemental library instead of icu) against former conclusion. Therefore, I think, I have to convert project to

SAX2XMLReader::setFeature const XMLCh defines changed classes

2002-03-14 Thread David Schulze
In version 1.5.2 I was doing this : setFeature(SAX2XMLReaderImpl::SAX_CORE_NAMESPACES, true); now I have to do this instead (v1.7.0) setFeature(XMLUni::fgSAX2CoreNameSpaces, true); My problem is that I want to be able to #ifdef the code to compile one way or the other based on the version I a

Re: Xerces c++ parser + icu + borland c++ builder ??

2002-03-14 Thread Herb Chong
you will have to build ICU from scratch. since they do not have a Borland distribution, you will have to do the port yourself. compiling the modules isn't the hard part, it's running the programs to generate the data files needed by ICU. go over to the ICU mailing list and ask your questions ther

Re: Xerces c++ parser + icu + borland c++ builder ??

2002-03-14 Thread Alper Ozer
If I build icu source in vc++, can I use object files and header files from builder ? (I think, I've read it in an IBM's mailing list) Thanks for your reply :) - Özgün Ileti - Kimden: "Herb Chong" <[EMAIL PROTECTED]> Kime: <[EMAIL PROTECTED]> Gönderme tarihi: 14 Mart 2002 Persemb

Re: Ignoring DOCTYPE Declaration

2002-03-14 Thread David N Bertoni/Cambridge/IBM
That error has nothing to do with validation. If an XML document has a DOCTYPE, the parser will _always_ attempt to process the DTD. This is standard behavior, since the DTD may contain declarations that affect the content of the document, irrespective of validation. This question has been ask

Why cant i find Grammar and SchemaGrammar in the docs on the site?

2002-03-14 Thread John Utz
hello; it's possible that i am being very stupid, but i cant seem to find any documentation of the Grammar stuff in the C++ API docs. http://xml.apache.org/xerces-c/apiDocs/index.html is it there, and i am missing it, or have the docs not been updated in a while? tnx! johnu

Re: Xerces c++ parser + icu + borland c++ builder ??

2002-03-14 Thread Herb Chong
at the risk of being obvious, you need to get a Borland version of ICU built. i've tried periodically but never had enough time to finish and test the results to see if it worked. Herb...

Xerces c++ parser + icu + borland c++ builder ??

2002-03-14 Thread Alper Ozer
    Hi,       I've developing an application which use xerces c++ parser. In addition, I need to use ICU library. My development platform is Borland C++ Builder 5. I have worked with with xerces parser well but I couldn't find a way to integrate icu with xerces and c++ builder. As far as I k

Ignoring DOCTYPE Declaration

2002-03-14 Thread Harry Chan
Hi, Can anyone tell me how to tell XalanSourceTreeParserLiaison to ignore the DOCTYPE declaration, i.e., not to validate. I tried setting validition to false through useValidation(), which from my understanding defaults to false anyways. I still get the following exception: An exception occure

XML Parser

2002-03-14 Thread TU ANH NGUYEN
> Hello all, > > We are adding some features to our existing products and would really > like a solution like Xerces to parse our XML files. With Xerces we worry > about the size in our RAM and the complexity. We expect well behaved > XML data and we are intending to use a SAX parser fo

Re: recurrent errors in overloading stream insertion operator

2002-03-14 Thread TU ANH NGUYEN
Hello all, We are adding some features to our existing products and would really like a solution like Xerces to parse our XML files. With Xerces we worry about the size in our RAM and the complexity. We expect well behaved XML data and we are intending to use a SAX parser for our needs.

Unused IDTest functions

2002-03-14 Thread Giorgio Sidari
Hi! I would like to know where and when I have to use the methods test[NodeType] during the IDOMTest because they seem to be never used: I find it strange as they are written to test all methods of one kind of node. Thanks in advance. Claire Nivet

RE: Linking Error on Solaris 8, Xerces C 1_7_0

2002-03-14 Thread Hespelt, Steve (Exchange)
In all fairness to the maintainers of the Build FAQ, this is not a Solaris-only issue nor is it really a xerces-c build issue. The -L and -l flags are needed when linking an app that uses the xerces library not when building the library. These flags are common to most (if not all) un*x OSs. The te

RE: Linking Error on Solaris 8, Xerces C 1_7_0

2002-03-14 Thread Todd Keen
Title: RE: Linking Error on Solaris 8, Xerces C 1_7_0 I resolved this by including the following flags when linking the libraries: -L$(XERCESCROOT)/lib -lxerces-c1_7_0 -lc -lgen The result was my linking line looked like this at link time: -L/space/u01/downloads/xerces-c-src1_7_0/lib/ -lx

RE: recurrent errors in overloading stream insertion operator

2002-03-14 Thread Bavishi, Pankaj
Hi, You must include all the xercesc - files that you are using in your project. Secondly, "<<" is overloadedhope you are using it properly. What platform are you using? -Original Message- From: Rhys Black [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 2:25 AM To: [EMAIL

Re: recurrent errors in overloading stream insertion operator

2002-03-14 Thread Don Mastrovito
Rhys, I no longer have BCB5 installed, so I'm just guessing here. If you ripped off most of the DOMPrint example, it contains an incorrect include statement at line 93 or so. When you use the STL, you should include , not . The latter is the old style definitions which *may* simply pull in

Simple problem

2002-03-14 Thread Aziz
Sorry friends, I am a new user in this group. I need only source code for parsing and inserting guestbook entries using xalan or such simple examples. Please send me if u have. Thank u so much! A.KasimoffDo You Yahoo!? Yahoo! Sports - live college hoops coverage

DO NOT REPLY [Bug 6875] - Incorrect Line-position for wrong element

2002-03-14 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: Xerces-c 1.7 on Tru64 Unix

2002-03-14 Thread Gale, Gary (Factiva)
Hi Andras, which version of Tru64 and which type of C++ compiler (Compaq C++ or g++) are you looking for; I have on hand binary drops of Xerces-C 1.6 and 1.7 for Tru64 4.0f/Compaq C++ 6.2 and Tru64 5.1/Compaq C++ 6.3-008, which install into /usr/local/xerces-1_6_0 and /usr/local/xerces-1_7_0, if