RE: asserts in Xerces

2001-03-28 Thread Uthus Ivan
But then apparently, the Xerces 1.4 lib is not a production build ? Ivan -Original Message- From: Andy Heninger [mailto:[EMAIL PROTECTED]] Sent: 29. mars 2001 05:23 To: [EMAIL PROTECTED] Subject: Re: asserts in Xerces I put many of those asserts in there. Some of them are checking for

RE: Xerces on AIX

2001-03-28 Thread Uthus Ivan
I have got the Xerces 1.4 lib working with xlC. I had some problems with the new templates in some of the headers (when linking), but when I started using the parameter -qnotempinc, everything works fine. I have not tried to build the lib myself. By the way, an working implementation of STL i

Re: Problem with validation and namespaces

2001-03-28 Thread Dean Roddey
I'm not sure what's going on there. All of that stuff used to work fine, so I'm kind of suspicious that perhaps some recent changes to fix something in attribute handling has broken this. Can someone go back to 1.3 or something and confirm whether this is broken there? I'm taking a wild guess that

Re: Andy Heninger's new DOM

2001-03-28 Thread Curt Arnold
I guess it is time for some exploration and profiling and maybe a few alternative approaches. The point about UTF-8 and UTF-16 strings definitely suggest that allowing different string implementations for internal vs external use might be valuable. In extreme cases (like the OT stuff), then gzip

[Bug 1147] New - Headers install in wrong directory.

2001-03-28 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1147 *** shadow/1147 Wed Mar 28 20:38:36 2001 --- shadow/1147.tmp.5948Wed Mar 28 20:38:36 2001 *** *** 0 --- 1,25 + ++ + | Headers install in

Re: asserts in Xerces

2001-03-28 Thread Andy Heninger
I put many of those asserts in there. Some of them are checking for internal consistency problems - if they fail they indicate a bug in the implementation, not a user error. For these cases, assert seems OK - they are essentially a debugging aid and don't want to be in the release code at all.

Re: DOM Level 3 - Load Save

2001-03-28 Thread Andy Heninger
From: "Gareth Reakes" <[EMAIL PROTECTED]> > Hello, > Has anyone started work on the DOMBuilder Interface in DOM level > 3? Not yet. I'd really like to see this happen - xerces-c needs it, and the w3c needs to know whether the API holds up under implementation and use. I would prioritize the se

Re: Andy Heninger's new DOM

2001-03-28 Thread Andy Heninger
In regards to the new DOM, "Curt Arnold" <[EMAIL PROTECTED]> wrote > 2. Align DOM_String with STL's basic_string semantics > > Since Andy said that his DOM will break existing app's, might as well take > advantage of the opportunity to change DOMString too. Basically, this says > that, at least

Re: Xerces on AIX

2001-03-28 Thread Belezebubba
Bovone I have been working through that as well ... I have AIX and xlC and been having fits ... I am slowly narrowing it down ... a good makefile would help. I seem to be making the most progress with gcc since I was unable to get STLport to work on my machine (more for Xalan). I will be watchi

Re: Domprint and overwriting files

2001-03-28 Thread Belezebubba
Glad to hear that it has been a help.   Please send me a description of the source that you wrote (or the source itself) that is giving you trouble ... hard to tell exactly what it is without seeing it ... I have an idea ... maybe ... we'll see :)   Todd   - Original Message - Fr

Re: Andy Heninger's new DOM

2001-03-28 Thread Andy Heninger
Nothing has happened with the new DOM code since the end of Feb. Getting some help with it would be great. Since I've moved on to a different project, I'm not likely to have a whole lot of time to help with it. I'll sneak in what time I can. The obvious first step would be to put the files int

RE: xerces parser on Palm?

2001-03-28 Thread Downey, Nathan
Tree structures like the DOM arent memory friendly by default. You get great functionality, and flexibility but at the expense of runtime memory usage. I havent looked into Xalan that much so I can't make a useful contribution to that route. But in an environment like the Palm you are definitly go

RE: xerces parser on Palm?

2001-03-28 Thread David_N_Bertoni
Really Joe, can't you guess from the context here that the person is referring to the Xerces-C parser, and therefore, the Xerces-C DOM? We're talking about porting an existing implementation to another platform. The question is not "is it possible to implement the W3C DOM on a Palm Pilot." I t

[Bug 1142] New - DTDElementDecl "re-order" warnings

2001-03-28 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1142 *** shadow/1142 Wed Mar 28 15:11:12 2001 --- shadow/1142.tmp.4495Wed Mar 28 15:11:12 2001 *** *** 0 --- 1,36 + ++ + | DTDElementDecl "re

RE: xerces parser on Palm?

2001-03-28 Thread Joseph_Kesselman
>Maybe the parser, but you can forget about the DOM I have to register a protest here. Remember, the DOM is _only_ an API and says nothng about its back-end storage. Compact versions can and do exist; Xalan is in the process of reviving and extending our DTM model, to take one (admittedly somewh

Re: presistence of parsed XM LData ( DOM Tree) ??

2001-03-28 Thread Dean Roddey
No. You generally do not want to do that. The whole point of XML is that its platform independent and portable. So the DOM does not support binary streaming of a DOM structure, since it would be counter to what XML is designed for to begin with. If you want to do that, you'll have to come up

RE: presistence of parsed XM LData ( DOM Tree) ??

2001-03-28 Thread Awasthi, Anand
but can I later on open saved file and use DOM tree information from file on the fly w/o doing any further  processing ?? -Original Message-From: Dean Roddey [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 28, 2001 3:43 PMTo: [EMAIL PROTECTED]Subject: Re: presistence of p

DOM Conformance Test Suites

2001-03-28 Thread Arnold, Curt
mailto:[EMAIL PROTECTED]?subject=Subscribe to subscribe to the DOM test suite mailing list at the W3C. -Original Message- From: Philippe Le Hegaret [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 11:46 AM To: [EMAIL PROTECTED] Cc: Mary Brady; Dimitris Dimitriadis Subject: DOM Con

Re: Xerces on AIX

2001-03-28 Thread David_N_Bertoni
The binary distribution is for the IBM xlC compiler, so you will not be able to use gcc. You can probably rebuild Xerces using gcc, although I don't know the details. Read the FAQ and the documentation first, then post any questions you might have. Dave

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

2001-03-28 Thread Awasthi, Anand
hi,   does Xerces C++ parser provide Schema support for XML Validation ??     Thanks Anand

Re: presistence of parsed XM LData ( DOM Tree) ??

2001-03-28 Thread Dean Roddey
Rip off the code in DOMPrint, change the output target to be a disk based file instead of the standard output.   --Dean RoddeyThe CIDLib C++ FrameworksCharmed Quark Software[EMAIL PROTECTED]http://www.charmedquark.com   "I'm not sure how I feel about ambivalence"    

presistence of parsed XM LData ( DOM Tree) ??

2001-03-28 Thread Awasthi, Anand
  hi, How can we persist the Parsed Data/DOM tree obtained after parsing XML file??

Re: Andy Heninger's new DOM

2001-03-28 Thread Joseph_Kesselman
>1. Port the NIST Java DOM Level 1 test suite to CppUnit. NIST is now working with the DOM Working Group to produce a real Standardized and Blessed Test Suite for the DOM. Community participation is also welcome; a new public mailing list has been opened to encourage folks to submit tests for re

Re: DOM Level 3 - Load Save

2001-03-28 Thread Joseph_Kesselman
One solution you could use today is to write your own DOM builder which takes a SAX stream as input, and drive it from Xerces' SAX output. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: xerces parser on Palm?

2001-03-28 Thread Dean Roddey
Xerces is certainly not designed with that in mind. However, according to what your needs are, you could (with a little surgery) remove everthing you aren't interested in and get a relatively small package. However, you'd have to this each time you got a new drop. Its not a big deal to do, but the

RE: xerces parser on Palm?

2001-03-28 Thread Downey, Nathan
Maybe the parser, but you can forget about the DOM -Original Message- From: Syam [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 10:24 AM To: [EMAIL PROTECTED] Subject: xerces parser on Palm? Hi could any one sugget the possibility of the xerces-c parser porting to Palm OS

Re: Domprint and overwriting files

2001-03-28 Thread Emma Towey
Hi,   Thanks a million for your help I have taken your suggestions. At the moment I am opening a file inserting new data and saving the new file; the only trouble is that the information between the tags is being saved but the tags aren’t. I.e. I open and parse a file with a structure similar to

xerces parser on Palm?

2001-03-28 Thread Syam
Hi could any one sugget the possibility of the xerces-c parser porting to Palm OS 3.5? I can use c/c++ to do this porting. Any idea of the performance considerations with respect to Speed and the memory of the palm ported parser? I appreciate your views and suggestions. my thanks in adv

RE: is xerces Thread Safe ?

2001-03-28 Thread Awasthi, Anand
thats right it was pretty high around midnight...thanks for info -Original Message- From: Arnold, Curt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 11:44 AM To: '[EMAIL PROTECTED]' Subject: RE: is xerces Thread Safe ? Look at the FAQ's, http://xml.apache.org/xerces-c/f

RE: Xerces-C thread-safe rules

2001-03-28 Thread Houle, Dennis W
Andy - Thanks for the multithreading clarifications. How are your multithreading efficiency studies progressing? If I guarantee (via external synchronization) that only a single thread will ever be active in a parser instance, can I forgo implementation of the PlatformUtils mutexes and atomic op

RE: faster parsing in well formed only mode !!

2001-03-28 Thread Juergen Hermann
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 than Xerces you have to decide yourself. Ciao, Jürgen --

RE: is xerces Thread Safe ?

2001-03-28 Thread Sean Forde
Read the FAQ! -Original Message-From: Awasthi, Anand [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 28, 2001 9:43 AMTo: '[EMAIL PROTECTED]'Subject: is xerces Thread Safe ? Hi,   I belive that Xerces C++ parser can handle multithreading issues. is Xerces c+

RE: is xerces Thread Safe ?

2001-03-28 Thread Arnold, Curt
Look at the FAQ's, http://xml.apache.org/xerces-c/faq-parse.html#faq-4 p.s. Pretty intense electrical storm last night wasn't it. (or are you not in Houston). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: faster parsing in well formed only mode !!

2001-03-28 Thread Joseph_Kesselman
>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. That's probably what you should expect. Validation involves a considerable amount of additional work.

is xerces Thread Safe ?

2001-03-28 Thread Awasthi, Anand
Hi,   I belive that Xerces C++ parser can handle multithreading issues. is Xerces c++ Thread safe or not ??      Thanks  

Xerces on AIX

2001-03-28 Thread Bovone Stefano
Hello everybody,   I have download le libraries for AIX (as binary) but I have many problems linking them on my project. They seem not to be 'correct library' for AIX.   Then I got the source file, but I have problem compiling them on AIX (problem with makefile).   I'm using a GNU C++ (g+

DOM Level 3 - Load Save

2001-03-28 Thread Gareth Reakes
Hello, Has anyone started work on the DOMBuilder Interface in DOM level 3? http://www.w3.org/TR/2001/WD-DOM-Level-3-CMLS-20010209/load-save.html#LS-Interfaces-DOMBuilder I am implementing XPath and would really like all CData nodes to go. -- Gareth Reakes, Lead Software Engineer Deci

Xerces-c1.3 problem on Solaris

2001-03-28 Thread Sharon Kohen
Title: Xerces-c1.3 problem on Solaris the problem description is: System details: Solaris 2.6 when trying to load "libxerces-c1_3.so" shared object with "dlopen()" function we receive the following error: "libxerces-c1_3.so: symbol _pure_error_: referenced symbol not found" Does it ring

Re: Andy Heninger's new DOM

2001-03-28 Thread Jon Smirl
This should be coordinated with the Xalan-C developers. If done in a coordinated manner Xalan will be able to accept the new Xerces DOM without converting it to SAX events. Initially there was talk of doing this as a joint project with Xalan but I don't know was became of it. I believe Andy's DOM

Re: Andy Heninger's new DOM

2001-03-28 Thread Curt Arnold
>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. 1. Port the NIST Java DOM Level 1

Re: Supporting C++Builder 4 and 5 issues

2001-03-28 Thread Sean Hoffman
Totally agree. Anyone voluntarily still doing Windows GUI development on MFC is a masochist. - Original Message - From: "Herb Chong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 28, 2001 10:18 AM Subject: Re: Supporting C++Builder 4 and 5 issues > > i think that

Re: Supporting C++Builder 4 and 5 issues

2001-03-28 Thread Herb Chong
i think that the 486 issue is a non issue for Windows. we also need full Borland support of Xerces for a cross platform product. i would like to see an official set of project files become part of the distribution. Herb

Re: Andy Heninger's new DOM

2001-03-28 Thread zongaro
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. I don't have an answer for you regarding the archives. Thanks, Henry --

Re: XML generator

2001-03-28 Thread John Snelson
DOM certainly has nothing built in that could directly help you with this problem. It will allow you to build a DOM tree, but schemas are not meant to be used like that. Schemas are for validating the correctness of a document, not for building a document. The trouble is, a schema implies a set o

XML generator

2001-03-28 Thread Pallavi Mahajan
  Hi, I need some generic application in C++ which will generate an XML file by reading an existing XML schema file (which decides the actual formal of the XML to be generated). i.e., i have some data in some structure, and for that data i need to generate an XML file. Now this file needs to be g

Problem with validation and namespaces

2001-03-28 Thread Juergen Hermann
Hi! Given these files ==> sample.dtd <== http://www.cinetic.de/2000/" > ==> sample.xml <== ==> sample2.dtd <== ==> sample2.xml <== http://www.cinetic.de/2000/"/> I get this behaviour (using plain Xerces 1.4): --> DOMPrint -v=always sample.xml http://www.cinetic.de/2000/"/> -->

Re: XML Schema support

2001-03-28 Thread John Snelson
Hi, XML is an inherantly text data format, so there is no built in floating point number support in the DOM. What most people do is to treat certain parts of the XML tree as having a floating point value, and use string-to-number and number-to-string routines to get the numeric values from the st

Re: get children using attributes

2001-03-28 Thread John Snelson
Why not use a DOM_TreeWalker, made using DOM_Document::createTreeWalker(), and define your own custom DOM_NodeFilter to do the test on the timestamp attribute for you. That, or use a DOM_NodeIterator, which is similar. John Charlie Hart wrote: > > Every element has a date and time attribute. I

RE: get children using attributes

2001-03-28 Thread Erik Rydgren
You can't select elements based on attributes in Xerces. You need Xalan x-path support for that. But my recomendation is that you inherit DOM_NodeFilter. Implement a node filter that filters out the 'bad' nodes. And pass an instance of your filter to a DOM_NodeIterator through the DOM_Document::cr