Re: very urgent

2001-07-17 Thread kiuma
prasanna wrote: 004c01c10f20$1f82cb00$3b91a8c0@workgroup"> Hi, Im making use of Apache Xerces C. Im interested in getting the attribute names and values in the order in which they are described in XML.   The method getAttributes( ) of DOM_Node class returns a DOM_NamedNodeMap c

Attributes are unordered (formerly Re: very urgent)

2001-07-17 Thread Derek Harmon
Prasanna Bhale wrote, > However the attributes get arrange in ascending order, what I want is > that the attributes to remain arranged in order in which they are in the > XML. Each element can be associated with an unordered collection of attributes. There is no difference in the information con

very urgent

2001-07-17 Thread prasanna
Hi, Im making use of Apache Xerces C. Im interested in getting the attribute names and values in the order in which they are described in XML.   The method getAttributes( ) of DOM_Node class returns a DOM_NamedNodeMap class, I retirve the attribute names and values using the item( ) method o

Re: MS vc6 issue (I think)

2001-07-17 Thread David_N_Bertoni
Are you linking with the correct runtime libraries? See the FAQ, then check your settings. http://xml.apache.org/xerces-c/faq-parse.html#faq-26 Dave Glenn

MS vc6 issue (I think)

2001-07-17 Thread Glenn MacGregor
Hi All, I have an app that uses xerces and xalan. I compile it fine and run it fine as well. When I run the debug version in purify everything seems fine, when I run the release version in purify I get throusands of Freeing mismatched memory errors. I has to be a lib issue but I have been beat

[Bug 2660] New: - SAX Major Memory Leak

2001-07-17 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2660 *** shadow/2660 Tue Jul 17 13:55:30 2001 --- shadow/2660.tmp.443 Tue Jul 17 13:55:30 2001 *** *** 0 --- 1,35 + ++ + | SAX Major Memory Leak

[Bug 2659] New: - Exceptions not propagated for schema validation errors

2001-07-17 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2659 *** shadow/2659 Tue Jul 17 13:39:07 2001 --- shadow/2659.tmp.29595 Tue Jul 17 13:39:07 2001 *** *** 0 --- 1,30 + ++ + | Exceptions not pro

Re: copy nodes from one DOM to another

2001-07-17 Thread Rolf Jakob
Hello Hal, On Tuesday 17 July 2001 12:06, you wrote: > > On Tue, 17 Jul 2001, "Rolf" == Rolf Jakob wrote: > > Rolf> For an XML editing application I would like to copy a > Rolf> node from one DOM to another. > > I have advice for using the DOM (in any implementation) for > XML editing app

Re: copy nodes from one DOM to another

2001-07-17 Thread Joseph_Kesselman
>It gives me a 4 meaning "wrong document error". See http://www.w3.org/DOM/faq.html#ownerdoc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: copy nodes from one DOM to another

2001-07-17 Thread Rolf Jakob
Hello, OK, I found my error: I used the source document for the call to importNode instead of the target. It's clone=target.importNode(sourcenode,true); I had : clone=source.importNode(sourcenode,true); which gives a wrong document exception. Thanks for all your help, Rolf ---

Re: copy nodes from one DOM to another

2001-07-17 Thread Rolf Jakob
> You should put a try/catch block in your code: > try > { > } > catch(const DOM_Exception&e) guess this is DOM_DOMException ? > { > std::cerr << "Exception code is " << e.code << "." << std::endl; > } > You may be trying to put a child in a place where it is not allowed. It gives me a

setting up

2001-07-17 Thread Barry Jones
I know this is a low level question, but I’m having a little trouble setting up Xerces-c on my NT workstation and getting a basic test program to run.  I have my path setup to xerces-c1_5_0-win32\bin according to spec, but I’m still getting linkage errors (19 of them) whenever I try to comp

toupper

2001-07-17 Thread Mark Cridge
Xerces defines the functions toupper and tolower, when using the STL function with gcc under Unix (Solaris) I get errors when trying to use the toupper and tolower templates from the STL. Is this on the dev list or does anybody have a work-around? TIA Mark

[Bug 2643] - derivation by extension of complex types does not permit addition of ONLY element content

2001-07-17 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2643 *** shadow/2643 Mon Jul 16 12:06:30 2001 --- shadow/2643.tmp.24739 Tue Jul 17 07:58:38 2001 *** *** 2,9 | derivation by extension of complex types does not permit addition of ONLY | +---

Re: copy nodes from one DOM to another

2001-07-17 Thread Joseph_Kesselman
>I have advice for using the DOM (in any implementation) for >XML editing applications: > >Don't Arguably offtopic for this mailing list, but I have to respond to this one... The DOM _IS_ well-suited for many applications. And you did say that your problems were with DOM Level 1; DOM Le

SAXPrint unhandled exception in call to XMLPlatformUtils::Terminate() (Win32, VC5, Xerces 1.5 release)

2001-07-17 Thread Christoffer Dam Bruun
Hi, When I run SAXPrint as: saxprint -n -s -v=always cb.xml An unhandled exception occurs: Unhandled exception in SAXPrint.exe (XERCES-C_1_5D.DLL): 0xC005: Access Violation The output produced by SAXPrint is correct. Any ideas ? /Christoffer stack trace from VC5: RefHashTableOf::remove

Re: copy nodes from one DOM to another

2001-07-17 Thread Hal DeVore
> On Tue, 17 Jul 2001, "Rolf" == Rolf Jakob wrote: Rolf> For an XML editing application I would like to copy a Rolf> node from one DOM to another. I have advice for using the DOM (in any implementation) for XML editing applications: Don't I've been working on a Real Work (tm)