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
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
> - 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
[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
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
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
> 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*)
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
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
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
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
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
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
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
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
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|
+---
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
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
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
[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
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
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
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
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
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:
> 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
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
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
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++.
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
"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
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
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
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
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
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:
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.
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
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.
(
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
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
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
42 matches
Mail list logo