Debug version in BCB5

2001-03-29 Thread Simon Reye
Has anyone managed to compile a debug version of the xerces-c1.4.0 library in Borland C++ Builder 5? I've got a non-debug version to compile but once I add _DEBUG I get compiler errors. Simon - To unsubscribe, e-mail: [EMAIL P

Re: Andy Heninger's new DOM

2001-03-29 Thread Andy Heninger
From: "Arnold, Curt" <[EMAIL PROTECTED]> (talking about DOMString) > > >Oops, I really meant StringBuffer, not String. > > Yea, it is closer to StringBuffer(). However, the Java bindings are written in terms of String's. It's actually kind of a combination of the DOM CharacterData methods, whi

Re: Print DOMDocument and Code Page

2001-03-29 Thread Dean Roddey
> - how to print the DOM document as XML, excepting method described in > DOMPrint and SAXPrint examples; > Those are the only methods currently available. > - what encoding is use as default in Xerces library; > UTF-16, in the native endianness. > - how to get/set value or attribute from/in t

RE: Andy Heninger's new DOM

2001-03-29 Thread Arnold, Curt
[EMAIL PROTECTED] wrote: >> Actually, DOMString seems to be somewhere between Java's and basic_string >> semantics. >Oops, I really meant StringBuffer, not String. Yea, it is closer to StringBuffer(). However, the Java bindings are written in terms of String's. >If it's immutable, then operat

RE: Namespace of xmlns attribute

2001-03-29 Thread Chris Hill
I agree and don't really understand why the xmlns attribute should be an exception to the rules either, I just saw these other references on the subject and was curious. Since attributes don't get the default namespace applied and the xml prefix makes xmlns illegal as a name, I am a bit confus

RE: DOCTYPE without subsets

2001-03-29 Thread Chris Hill
is a doctype decl, yet the DocTypeHandler doesn't get called (although the parser did parse it). I am writing an application which attempts to preserve most of the sturcture of the original XML file, so in response to the event I would simply note that there is a doctype decl with R for the

RE: Andy Heninger's new DOM

2001-03-29 Thread David_N_Bertoni
> David N Bertoni wrote: > >Except the current semantics for DOMString are like that of a Java String, > >which is always a reference, so representing null is pretty natural. For a > >class having more C++-like semantics (value semantics), it would be really > >weird to have an operator==(void*)

RE: multhreaded C++ applications using Xerces C++ parser.

2001-03-29 Thread Dean Roddey
If you read the FAQ, that is exactly what it says you should do if you want to do multi-threaded parsing. As long as each parser instance is only used by one thread at a time, and as long as you get your copy of your DOM document out (if you are using a DOM) before you reuse it in another th

RE: Andy Heninger's new DOM

2001-03-29 Thread Arnold, Curt
David N Bertoni wrote: >Except the current semantics for DOMString are like that of a Java String, >which is always a reference, so representing null is pretty natural. For a >class having more C++-like semantics (value semantics), it would be really >weird to have an operator==(void*) that works

RE: multhreaded C++ applications using Xerces C++ parser.

2001-03-29 Thread Awasthi, Anand
hi Dean,    i have a different thought for heandling the threads in an effiecient way:   we can create a Thread Pool (with a max size) and in each thread we can have one parser instance running and parsing the xml data. ih this way we can avoid synchronization issues.     what you say abo

RE: Namespace of xmlns attribute

2001-03-29 Thread Dean Roddey
I was just being consistent when I designed it, and treated it like any other global attribute. I didn't ever see anything that said I should do otherwise, but I could have easily missed it. Another difference may come from the fact that I did the very literal thing of making: xmlns="" be an att

RE: DOCTYPE without subsets

2001-03-29 Thread Dean Roddey
I'm not sure I agree with that. The parser calls event callbacks based on things it parsed. If it never parsed a DOCTYPE decl, then why would it call anything on the doc type handler? And given that you must have a DOCTYPE decl in order to have either type of subset, validing if a DOCTYPE decl is

RE: multhreaded C++ applications using Xerces C++ parser.

2001-03-29 Thread Dean Roddey
This issue is covered in the FAQ. The issues for the parser are very parse specific, as they are for most API based products. It all depends on what level of performance degredation you are willing to live with in order to get a particular amount of convenience. In most cases, the answer is

Namespace of xmlns attribute

2001-03-29 Thread Chris Hill
Xerces 1.4 puts the xmlns attribute in a default namespace declaration (such as ) in the global namespace, like all other attributes without a prefix. I see that a couple other specifications place it in the "http://www.w3.org/2000/xmlns/" namespace, as well as the document at http://www.w3.or

RE: [Bug 1153] New - tar checksum erro when extracting files

2001-03-29 Thread Dave Connet
Maybe this could be added as a random 'tip'? Another email list I'm on has a random tip auto-generated as a header, in addition to the unsubscribe stuff at the bottom. > -Original Message- > From: Hiram Clawson, 831-427-7519 [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 29, 2001 1:22

[Bug 1153] Changed - tar checksum erro when extracting files

2001-03-29 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1153 *** shadow/1153 Thu Mar 29 12:19:09 2001 --- shadow/1153.tmp.12689 Thu Mar 29 13:25:17 2001 *** *** 2,9 | tar checksum erro when extracting files| +---

DOCTYPE without subsets

2001-03-29 Thread Chris Hill
SAXParser::setValidationScheme takes Val_Auto as an option. Val_Auto is documented as "turn on validation if any internal/external DTD subset have been seen" The actual meaning appears to be turn on validation if a doctype declaration has been seen. I also noticed that my DocTypeHandler does

Re: [Bug 1153] New - tar checksum erro when extracting files

2001-03-29 Thread Hiram Clawson, 831-427-7519
You forgot to include the one: Where is XML Schema support ? And a pointer to: "How to write and debug programs in C++" would be a safe bet too. --Hiram > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional com

multhreaded C++ applications using Xerces C++ parser.

2001-03-29 Thread Awasthi, Anand
Hi,   I am studying the multhreaded parsing applications using Xerces C++ parser. Does some one have few exampls or know about information on ineternet links where i can find out exampels of multhreaded parsing applications ??     thanks   -Original Message-From: Dean Roddey

Re: [Bug 1153] New - tar checksum erro when extracting files

2001-03-29 Thread Jack Marr
[EMAIL PROTECTED] wrote: > > + ++ > + | DESCRIPTION | > + I could not extract all files from xerces-c-src1_4_0.tar.gz. I got > + a tar checksum error when unt

RE: Debug Assertion

2001-03-29 Thread Dean Roddey
You are probably mixing runtimes. See the FAQ about this. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From: Glenn MacGregor [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 12:34 PM To: [EMAIL PROTECTED] Subject: Deb

Debug Assertion

2001-03-29 Thread Glenn MacGregor
Hi All, I am new to the xerces parser. I am using it for a large project at work. We use metroworks codewarrier 6.0 for a compiler. I can link the xerces lib with no problem. I can call functions in the lib no problem. If I new a parser, do some stuff and then delete the parser I get the fol

[Bug 1153] New - tar checksum erro when extracting files

2001-03-29 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1153 *** shadow/1153 Thu Mar 29 12:19:09 2001 --- shadow/1153.tmp.11181 Thu Mar 29 12:19:09 2001 *** *** 0 --- 1,24 + ++ + | tar checksum erro

Re: Print DOMDocument and Code Page

2001-03-29 Thread Todd Firsich
Well ... what method of printing would you be interested in? Are you looking for something like a style sheet transformation? If so, see the Xalan pages. Getting and setting values and attributes are shown in the samples. Not sure what you mean by "what encoding is used"? Do you mean, how is

[Bug 1150] Changed - Problems with Namespaces and validating parsing

2001-03-29 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1150 *** shadow/1150 Thu Mar 29 08:29:47 2001 --- shadow/1150.tmp.8882Thu Mar 29 10:59:36 2001 *** *** 5,13 | Status: NEW Version: 1.4 | | Resolution:

RE: Andy Heninger's new DOM

2001-03-29 Thread David_N_Bertoni
> David N Bertoni wrote: > >This would be great, as long as it can be aligned with what the standards > >bodies are doing. > The W3C/NIST effort seems to be exploring alternatives at this time, especially regarding multi-language issues. Doing a > CppUnit variant of the current NIST Java tests

Re: DOM Level 3 - Load Save

2001-03-29 Thread Gareth Reakes
Hello, Yes, I have thought of this. The problem I have is that we are going to release our implementation of XPath as part of our open source project. I was hoping to be to completely separate the XPath component so people who were using Xerxes-c could just use this part if they want XPath functi

Re: asserts in Xerces

2001-03-29 Thread Andy Heninger
The standard library assert() is a macro. It is defined such that it disappears if the "NDEBUG" preprocessor variable is set. non-debug xerces builds set this flag. Andy Heninger IBM, Cupertino, CA [EMAIL PROTECTED] - Original Message - From: "Uthus Ivan" <[EMAIL PROTECTED]> To: <[EM

Print DOMDocument and Code Page

2001-03-29 Thread Alex A. Borisanov
Hello! I have some questions about Xerces C 1.4.0 to you: - how to print the DOM document as XML, excepting method described in DOMPrint and SAXPrint examples; - what encoding is use as default in Xerces library; - how to get/set value or attribute from/in the necessary code page in Xerces C++.

RE: Andy Heninger's new DOM

2001-03-29 Thread Arnold, Curt
David N Bertoni wrote: >This would be great, as long as it can be aligned with what the standards >bodies are doing. The W3C/NIST effort seems to be exploring alternatives at this time, especially regarding multi-language issues. Doing a CppUnit variant of the current NIST Java tests would pro

Re: Andy Heninger's new DOM

2001-03-29 Thread Jason E. Stewart
"Andy Heninger" <[EMAIL PROTECTED]> writes: > Within the DOM, utf-8 vs utf-16 strings makes another interesting > question. For data that is consists of mostly Latin characters, utf-8 > strings are about half the size. And for the DOM, with big documents > being 100% memory resident, that would

[Bug 1150] New - Problems with Namespaces and validating parsing

2001-03-29 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1150 *** shadow/1150 Thu Mar 29 08:29:47 2001 --- shadow/1150.tmp.8521Thu Mar 29 08:29:47 2001 *** *** 0 --- 1,126 + ++ + | Problems with Nam

RE: Xerces on AIX

2001-03-29 Thread Herb Chong
we have had good sucess using Visual Age C++ 5.04 instead. Tinny has posted the diffs and incorporated my porting into the daily builds. the debug symbols from STL really make the binaries huge. Herb

RE: Xerces on AIX

2001-03-29 Thread David_N_Bertoni
If you're interested, we use a pretty sneaky technique in Xalan-C++ to workaround the fact the xlC generates so many template instantiations. It works something like this: 1. Remove the -qnotempinc switch from the command line. 2. Build the executable. The linker will report lots of unde

Re: Newbie help needed with Xerces-C and Schemas

2001-03-29 Thread peiyongz
Hi, Mike, Implementation of Schema support in Xerces-C is under development. For detail discussion, please refer to Tinny Ng's mail dated on 01/12/2001. Regards, Peiyong Zhang XML Parsers Development IBM Toronto Laboratory email: [EMAIL PROT

RE: Newbie help needed with Xerces-C and Schemas

2001-03-29 Thread Alfredo Muñoz
Xerces-C does not support XML Schemas yet (use Xerces-J that has partial support...) stay tuned, probably by mid - year Schema support will be available regards, Alfredo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Jueves, 29 de Marzo de 2001 10:55 a.m. To:

Re: Andy Heninger's new DOM

2001-03-29 Thread David_N_Bertoni
Curt Arnold wrote: > >Henry Zongaro wrote: > > Hi Curt, > > > > Co-incidentally, I started looking into Andy Heninger's prototype code > > yesterday, and I'd like to volunteer to work on completing it. > > There are a couple of things that I would like to do as part of the overall > project.

Re: Xerces on AIX

2001-03-29 Thread Todd Firsich
I have AIX 4.3.2 (unfortunately) and xlC 3.6.6 and I cannot recompile the library. Best I can tell is that STL is not included in this version of xlC. I have been trying to use gcc but so far to no avail. Todd - Original Message - From: "Uthus Ivan" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Newbie help needed with Xerces-C and Schemas

2001-03-29 Thread Michael . CARR
I've downloaded xerces-c_2001-03-28-win32.zip in order to use XML schemas but don't see how to get it working. Is this because the code is incomplete (i.e. still being worked on) or am I missing something? Any help or directions to something to read in order to understand would be appreciated. (

Re: Problem with validation and namespaces

2001-03-29 Thread tng
Tried with Xerces-C 1.3, and also failed. I would suggest you open a Bugzilla bug report so that it won't get lost. See http://xml.apache.org/xerces-c/bug-report.html for details. Tinny - To unsubscribe, e-mail: [EMAIL PROTE

RE: faster parsing in well formed only mode !!

2001-03-29 Thread Aaron Kaplan
On Wed, 28 Mar 2001, Juergen Hermann wrote: > On Tue, 27 Mar 2001 17:08:35 -0600, Awasthi, Anand wrote: > > >do we have some c++ based light weight parser which is real fast > >in well foremd only mode ?? > > The two options here would be expat or libxml, but if they're > significantly faster t

Re: does Xerces C++ parser provide Schema support for XML Validation ??

2001-03-29 Thread John Snelson
No, it doesn't, but it is planned. Xerces-j already has partial schema support. John > "Awasthi, Anand" wrote: > > hi, > > does Xerces C++ parser provide Schema support for XML Validation ?? > > > Thanks > Anand -- John Snelson, Software Engineer DecisionSoft Ltd. Telephone: +44-1865