Re: Debug Assertion Failed

2002-01-22 Thread Joachim Achtzehnter
David N Bertoni wrote: > > I actually like the extra "debugging" features in the debug memory manager, > so I'm not sure I agree with you that the decision was "stupid". it is, > however, very confusing, and a constant source of error for people who > don't ready the documentation and/or don't un

Re: DOM_ IDOM_ Integration

2002-01-22 Thread David N Bertoni/CAM/Lotus
Once you've created the bug report, you can then add attachments. Dave "Lenny Hoffman"

Re: Debug Assertion Failed

2002-01-22 Thread David N Bertoni/CAM/Lotus
It's more fundamental than just incompatibility between release and rdebug runtimes -- Microsoft actually allows executable modules to either have their own heap, or share one. Thus, you can build all of your release executables with "release" runtimes, and still have problems, since a pointer c

Re: Debug Assertion Failed

2002-01-22 Thread David N Bertoni/CAM/Lotus
John Utz <[EMAIL PROTECTED]> wrote: < this line makes unwarranted assumptions about pointer quality. i say < 'unwarranted' because if the implication of this code was warranted, you < wouldnt fire the assertion :-). Not necessarily true, since selecting the wrong run-time heap can cause this pr

Re: DOM_ IDOM_ Integration

2002-01-22 Thread Lenny Hoffman
Hi Tinny,   Within Buxzilla I could not see where to add an attachement.  So I tried three separate messages to the list and they all got rejected for being too large, even though they were less then 100,000 bytes, which is the limit indicated in the failure notice.  Am I missing something?

RE: How to get at ||?

2002-01-22 Thread Hauke von Bremen
Hi Maria, yes, I have successfully accessed my XML schema data, using the example... but there is no info on how to get at the information... at least I haven't found it... Thanks, Hauke At 18:09 22.01.02, you wrote: >Hi Tia: > >Have you used SENumVal to parse XML Schema file? >I tried to us

Re: Debug Assertion Failed

2002-01-22 Thread Joachim Achtzehnter
Xerces Rule wrote: > > Manu Heirbaut suggested to use a multithreaded DLL. In VC++, > I set 'Debug Multithreaded DLL' at Project>Settings>C++>Code > Generating (Settings for Win32 Debug). > > But I'm still getting the same error. The important point is that your C runtime setting (Debug or Releas

RE: Debug Assertion Failed

2002-01-22 Thread Erik Schroeder
Make sure your project is using the same runtime as the Xerces DLL. If you are using a release build of the DLL, then your project's _release_ build should be set to Multithreaded DLL (Project settings | C/C++ tab | "Code Generation" category | "Use run-time library" setting); the project's _debu

Re: Debug Assertion Failed

2002-01-22 Thread John Utz
as a recovering win32 dev, i'll take a poke :-) i hope this helps. and i apologize in advance to everybody if i seem overly pedantic or snippy. CtrlsValidHeapPointer(pUserData) generally, this assertion is telling you that you are trying to free() or read() from a bogus pointer. char *attrVal

RE: How to get at ||?

2002-01-22 Thread Maria Yong Lu
Hi Tia: Have you used SENumVal to parse XML Schema file? I tried to use it to parse personal.xsd (it is from Xerces samples\data dir). But it returned error. Thanks, Maria -Original Message- From: Hauke von Bremen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 8:12 AM To: [

Re: Debug Assertion Failed

2002-01-22 Thread Xerces Rule
Hi. Thank you for your answer, Jesse. I was reading another thread dealing with this topic: http://archive.covalent.net/xml/xerces-c-dev/2000/08/0020.xml Manu Heirbaut suggested to use a multithreaded DLL. In VC++, I set 'Debug Multithreaded DLL' at Project>Settings>C++>Code Generating (Setting

Re: DOM_ IDOM_ Integration

2002-01-22 Thread Tinny Ng
Lenny, I think Bugzilla will only forward the attachment link to the mailing list, not the actual attachment.  But if it is really large, it's not a bad idea to break the zip even the Bugzilla can take it. > Just to be clear, I wrapped IDOM, with DOM.  Without preventing direct IDOM use, though.

How to ignore external DTD referance using SAX2?

2002-01-22 Thread Sergei Pavlovskiy
Hi All. I try to parse XML-file with external DTD referance with SAX2 parser. But DTD file is absent, so I get fatal error and parsing terminates in spite of "ExitOnFirstFatalError" and "ValidationConstraintFatal" are both set to false and validation turned off. Is there any way to avoid that an

Re: DOM_ IDOM_ Integration

2002-01-22 Thread Lenny Hoffman
Hi Tinny,   I created a zip containing the changed source.  I sent it to the mailing list, but it bounced it back because it was over 100K (it is 281K).  I looked at bugzilla, but it said that it forwards everything to the mailing list, so I was not sure that was the way to go.  Please advi

RE: Debug Assertion Failed

2002-01-22 Thread Jesse Pelton
See http://xml.apache.org/xerces-c/faq-parse.html#faq-26. -Original Message- From: Xerces Rule [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: Debug Assertion Failed Hi again. I succeeded in inserting a function to obtain the text stri

How to get at ||?

2002-01-22 Thread Hauke von Bremen
Hi, I have send this request before, but still have not found any answers... I am trying to get at elements, that I added to my XML schema, using xerces-c api. I have not been able to find any information on how to do this... I am able to retrieve all the XML Schema information about types et

Debug Assertion Failed

2002-01-22 Thread Xerces Rule
Hi again. I succeeded in inserting a function to obtain the text string from a Node: void myFunciton (DOM_Node input, char *output) { char *attrValC = input.getNodeValue().transcode(); try { strcpy(output,attrValC);

Re: DOM_ IDOM_ Integration

2002-01-22 Thread Lenny Hoffman
Hi Jesse,   The missing XMLDecl support is a real hole.  Probably the best way to plug it is to add the attributes to DOM_Document as suggested in the DOM level 3 draft.  Beyond  DOM_Document, IDOM_Document and IDOMParser, I am not sure what the impact is, though.  If that is the extent of t

Re: DOM3 Bindings

2002-01-22 Thread Tinny Ng
DOM3, at least the "Core", is one of our TO-DO items in 2002 after schema. And we are thinking to use IDOM as the base. The "Abstract Schema" and "Load and Save" are two new concepts, and thus may take us longer to digest and start Tinny Miroslaw Dobrzanski-Neumann wrote: > Hi, > > is th

RE: DOM_ IDOM_ Integration

2002-01-22 Thread Jesse Pelton
The integration sounds pretty neat. My only concern: I need some way to create an XML declaration node for insertion into a document. I'm currently using DOM_Document::createXMLDecl(), but if another method has been made available since 1.3 (when I wrote the affected code), I can adapt. I'm

Re: DOM_ IDOM_ Integration

2002-01-22 Thread Tinny Ng
Lenny, I am very interested in your changes, and I think it's a good idea to wrap the DOM with IDOM, and eventually fade out the old DOM implementation.  Actually I am also thinking to send the IDOM to W3C as one of the non-W3C referenced DOM C++ Binding.  I am working on a proposal .. Would