Re: asserts in Xerces

2001-03-27 Thread Dean Roddey
I think that it was always agreed that those asserts should be dealt with, since that's not the way the rest of the system works. I think that the original C++ DOM code was inherited with those in there? -- Dean Roddey The CIDLib C++ Frameworks Charmed Quark Software [EMAI

RE: asserts in Xerces

2001-03-27 Thread Uthus Ivan
Aren't there anyone who would like to comment on this issue ? What are the thoughts on asserts vs exceptions in Xerces for example ? Ivan -Original Message- From: Uthus Ivan [mailto:[EMAIL PROTECTED]] Sent: 26. mars 2001 10:54 To: '[EMAIL PROTECTED]' Subject: asserts in Xerces Hi! We

Supporting C++Builder 4 and 5 issues

2001-03-27 Thread william . l . hopper
I am trying to pull together updates for the BCB4 files in CVS and create a similar BCB5 tree for C++Builder 5 and I would like the community's input on a few issues... 1. Am I correct that Visual C++ 6 does not declare the C++ standard type "wchar_t" as intrinsic like C++Builder does, which a

Andy Heninger's new DOM

2001-03-27 Thread Arnold, Curt
Has anything been done with Andy Heninger's new DOM since his message on 1 March (see http://www.apache.org/~andyh/). By the way, will the mailing list archives ever been extended into 2001? - To unsubscribe, e-mail: [EMAIL PRO

RE: faster parsing in well formed only mode !!

2001-03-27 Thread Dean Roddey
Depends on who 'we' is. Xerces is not intended to be light weight in general, but to be general purpose. A really light weight parser would probably want to cheat and not necessarily follow the spec so fully, for those folks who know that they will not be using certain features. There are probably

RE: faster parsing in well formed only mode !!

2001-03-27 Thread Awasthi, Anand
do we have some c++ based light weight parser which is real fast in well foremd only mode ?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: faster parsing in well formed only mode !!

2001-03-27 Thread Awasthi, Anand
thanks Dean -Original Message- From: Dean Roddey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 4:57 PM To: '[EMAIL PROTECTED]' Subject: RE: faster parsing in well formed only mode !! If you aren't validating, then a significant amount of work isn't done that otherwise would b

RE: faster parsing in well formed only mode !!

2001-03-27 Thread Dean Roddey
If you aren't validating, then a significant amount of work isn't done that otherwise would be. Though we took pains to make validation as light weight as possible, its still a reasonable amount of work, according to how complex your content models are. We have specialized content models for thing

faster parsing in well formed only mode !!

2001-03-27 Thread Awasthi, Anand
Hi, I belive that if we use Xecres parser to parse a well formed XML document only ( no validations againat DTD/Schema), then parsing time reduces considerably. does any one hear support my thought ?? has any one ever done perofrmance comparsion for xerces parser in well formed Vs valid modes

RE: Parser problem

2001-03-27 Thread Jones, Brian O.
Thanks that's what I need, I appreciate all the help. > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, March 27, 2001 11:45 AM > To: [EMAIL PROTECTED] > Subject: RE: Parser problem > > > Hi, Brian, > > Please try this. > > DOM_Nod

RE: XML Schema support

2001-03-27 Thread Peter Allen
OK, now I'm confused. The web page says "Initial support for XML Schema (draft W3C standard) is also provided." under the xerces section. It does not qualify this as applying to xerces-j only. I wish I'd known this... -Pete > -Original Message- > From: [EMAIL PROTECTED] [mailto:[

Re: Error in delete when using xerces_c_1_2d.dll

2001-03-27 Thread David_N_Bertoni
You're mixing C++ run-time libraries. Read the FAQ for more information. Dave SCHIEFERT Manfred -

Re: XML Schema support

2001-03-27 Thread tng
Yes, partial support should be available before summer. Stay tuned. Tinny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

XML Schema support

2001-03-27 Thread Sandra Carney
Hello, We are a medical device manufacturer and we are examining the possibility of using XML documents to store aspects of our studies( we make a non-contact heart mapping system, Endocardial Solutions, Inc. ). I began by experimenting with DTD's. However, there doesn't seem to be any

get children using attributes

2001-03-27 Thread Charlie Hart
Every element has a date and time attribute. I want to get only the elements that have certain timestamps, say only those after 03/01/2001. How can I select based on attribute or do I have to get them all and then look at the attributes and select based on the criteria? thanks...charlie

Re: comments outside root

2001-03-27 Thread David_N_Bertoni
They're exposed in SAX2, but not in SAX1. This question is about the SAX1 parser, so comments are not available. To get them, you have to install a Xerces-specific handler. Dave

RE: Error in delete when using xerces_c_1_2d.dll

2001-03-27 Thread Jesse Pelton
You're probably mixing debug and retail DLL versions. See http://xml.apache.org/xerces-c/faq-parse.html#faq-23. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Parser problem

2001-03-27 Thread peiyongz
Hi, Brian, Please try this. DOM_NodeList nodeList = doc.getElementsByTagName("HostName"); // Not "Server" for( unsigned int i=0; i on 03/27/2001 11:05:21 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: RE: Parser problem Pei

Error in delete when using xerces_c_1_2d.dll

2001-03-27 Thread SCHIEFERT Manfred - XA
Hello! I got xerces_c_1_2d.dll via a distribution of Speechworks/CMU open voice browser (OpenVXI). This included links to Xerces and other PD SW (e.g. SpyderMonkey). The Xerces delivery was a binary one, I did not get any sources (but lots of samples, though). My OS is NT 4 SP6. Running a DOM

Re: tools for generating XML document

2001-03-27 Thread Joseph_Kesselman
>do we have any tool at first place which generates XML documents on the fly?? Have your program build a DOM tree, or generate a stream of SAX events, and route that into the sort of output formatters used in the DOMPrint/SAXPrint examples if you want it output in XML syntax. (You could also jus

RE: Parser problem

2001-03-27 Thread Jones, Brian O.
Peiyongz, When I tried to get the child node of the values in the node list I received an error. That should be the parent node, which is the nodelist?? (i.e. parent.getFirstChild()) > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, March 27, 2001

Re: Parser problem

2001-03-27 Thread peiyongz
Hi, Brian, Is the ###doc### a typo? for(DOM_Node child=doc.getFirstChild(); child!=NULL; child=child.getNextSibling() ) { if (child.getNodeType()== DOM_Node::ELEMENT_NODE) { int chTypeNode = child.getNodeType(); DOMString chNodeName = child.getNodeName();

Parser problem

2001-03-27 Thread Jones, Brian O.
Hello all, I am having no luck getting values from the children nodes. Any suggestions on what to do? here is a code subset of what I did... DOM_Document doc = parser->getDocument(); DOM_NodeList nodeList = doc.getElementsByTagName("Server"); for(DOM_Node child=d

Re: Query on xerces-c_1_1 parser

2001-03-27 Thread John Snelson
And for completeness sake, to answer your 3rd question, the Unicode spec tries to be as all-encompassing as possible with it's encoding. New characters are always being introduced into it, but they tend to be of the more obscure variety. I reckon you'll never need a character that isn't in the uni