Parse DTD

2001-06-25 Thread LiChao(李超)
Title: Parse DTD Hi,all.   How to parse a standalone DTD? I had written a DTD document using notepad. I want to use xerces in the program to juddge if there is any syntax error in the DTD.How should I do? Which API should I use? I am a beginner of xerces.I have been browsing the helping doc al

RE: getElementsByTagName

2001-06-25 Thread Vinodkumar S
hello, the NodeList is very small class yet powerful, u can get the no of Elements Present by calling unsigned int nElementCount = NodeList.getLength (); // now we can access evry Node by this for loop for ( unsigned int i = 0; i < nElementCount; i++) { DOM_Node temp = NodeList.item (i);/

Re: linking xml

2001-06-25 Thread Hernan Bartoletti
You must include xerces-c's library.   [root@NetteamUSA include]# c++ -o first first.cpp -I/big/XERCES/xerces-c-src1_4_0/include -L/big/XERCES/xerces-c-src1_4_0/lib -lxerces-c1_4 [ENTER] hmb - Original Message - From: prasanna To: [EMAIL PROTECTED] Sent: Monday, Jun

1.5 slower than 1.4

2001-06-25 Thread Dan Clark
When testing 1.5 on a 4.5 mb file I found 1.5 to be up to 1000ms slower than 1.4. I'm running saxcount for the tests. Anyone else notice this? Is it possible that I'm missing something? Dan Clark > Register today for NetPro's FREE Active Directory > Troubleshooting eBook! www.netpro.com/e

linking xml

2001-06-25 Thread prasanna
Hi, Im trying to run a sample program (the source code is included), the program is compiling with no errors, but unable to link. can u kindly suggest some solution.   first.cpp=#include #include #include #include #include   int main (int argc, char* args[]){    try {  

Re: 2 questions about parsing

2001-06-25 Thread Houman . Azarm
More details on second question... I will be provided with an XML file from another party. We will agree on the DTD beforehand, of course. But they could send me a file which a modified DTD and the XML data in the rest of the file could match that modified DTD. So Xerces would parse and valid

getElementsByTagName

2001-06-25 Thread Co-op DI
I am getting the element tags by the function getElementsByTagName ( using C++ ) and the return value is a NodeList. Can anyone tell me how can I print out the element (that I have obtained by using getElementsByTagName) in C++ since it is of the type NodeList.? Thanks. ---

Re: Iconv390

2001-06-25 Thread Tinny Ng
Which version of Xerces-C are you using? And what compiler option did you use? Tinny Christoffer Dam Bruun wrote: > Hi, > > We're in the process of getting xerces to compile on OS/390 Classic and have > run into the following > errors when trying compilation Iconv390TransService.cpp: > > 'SCSS

[Bug 2311] New: - parseReset throws exception if parseFirst returns false

2001-06-25 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2311 *** shadow/2311 Mon Jun 25 10:33:22 2001 --- shadow/2311.tmp.27675 Mon Jun 25 10:33:22 2001 *** *** 0 --- 1,30 + ++ + | parseReset throws

XML Generation using DOMPrint !!

2001-06-25 Thread Awasthi, Anand
Hi, I am trying to geenrate an XMLfile or an XML string from DOM_Node using exmaple given in DOMPrint.cpp.I get XMLs but i also get junk at the end of xml. what may be the resaon. pls enlighten me. i am using following statements for xml generation: 1. for file : xmlfile << domnode << en

Iconv390

2001-06-25 Thread Christoffer Dam Bruun
Hi, We're in the process of getting xerces to compile on OS/390 Classic and have run into the following errors when trying compilation Iconv390TransService.cpp: 'SCSSE.XML.CPP(ICONV300)'", line 313.12: CBC1174(S) An object of abstract class "Iconv390Transcoder" cannot be created. "SCSSE.XML.HP

[Bug 2258] - Bug in Iconv and Iconv390

2001-06-25 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2258 *** shadow/2258 Thu Jun 21 00:37:10 2001 --- shadow/2258.tmp.25221 Mon Jun 25 07:21:32 2001 *** *** 7,13 | Severity: Critical OS/Version: Solaris | | Priority: Other

[Bug 965] - scanDocTypeDecl messes up the source offsets

2001-06-25 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=965 *** shadow/965 Sun May 20 17:23:11 2001 --- shadow/965.tmp.25199Mon Jun 25 07:19:41 2001 *** *** 1,19 ! Bug#: 965 ! Product: Xerces-C ! Version: 1.4 ! Platform: All ! OS/Version: All ! Status: NEW ! Resolution: !

RE: Separate MemBufInputSource as input

2001-06-25 Thread tbentley
You will have to create your own InputSource unless the source matches one of the provided sources.    Subclass the InputSource (sax/InputSource.hpp). Regards, Thom Bentley Iris Associates, 5 Technology Park Drive, Westford, MA 01886 Using your lights makes you bright. It's smart to use your head

Xerces under linux

2001-06-25 Thread Peterec, Ernst
Hello, up to now we used the version 1.3.0 under windows without having any problems. Now we want to support our project with linux, but we have some problems with the parser so far. The linux binaries can be linked and everything is compiled successfully. Then, when we try to run our application

[Bug 2306] New: - Add some XMLUni constants

2001-06-25 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2306 *** shadow/2306 Mon Jun 25 04:39:07 2001 --- shadow/2306.tmp.23918 Mon Jun 25 04:39:07 2001 *** *** 0 --- 1,40 + ++ + | Add some XMLUni co

[Bug 2305] New: - Include to BinHTTPURLInputStream.cpp

2001-06-25 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2305 *** shadow/2305 Mon Jun 25 04:09:29 2001 --- shadow/2305.tmp.23150 Mon Jun 25 04:09:29 2001 *** *** 0 --- 1,27 + ++ + | Include to BinHTT