RE: Xerces as static Win32 Library

2001-11-19 Thread John . Clayton
I did wonder about that symbol actually... it makes sense and I would have used that feature as we are damn simple folk here... Why did you need the 'define' though? John Clayton -Original Message- From: Dean Roddey [mailto:[EMAIL PROTECTED]] Sent: 19 November 2001 05:44 To: [EMAIL PROT

Re: Me again about the free Borland compiler issues...

2001-11-19 Thread Don Mastrovito
Hi Nick, Can't comment on the sample programs. Maybe someone else can help you there. I understand the VCL dependency issues, and it's on my to-do list to remove those dependencies. I've been really busy here at work and have had precious little time for creative (enjoyable) programming. Th

Mixing Runtimes

2001-11-19 Thread renganathan
Dear All,       I tried everything to avoid the problem of getting errors, while deleting the transcoded variable. But still I am unable to succeed.       When I debug the code, there are no problems. But when I "execute" it, I get errors. To throw more light on my workspace, I build a proj

Re: validate instance doc against schema

2001-11-19 Thread Tinny Ng
Have you turned on "setValidationSchemaFullChecking", i.e. option "-f" in DOMCount? See http://xml.apache.org/xerces-c/apiDocs/class_DOMParser.html#a31 for description of setValidationSchemaFullChecking. Tinny xin wang wrote: > I am trying to use DOMCount or similar programs in > bin/ > that c

RE: Mixing Runtimes

2001-11-19 Thread Samar Abbas Lotia
Use the XMLString::transcode methods instead of calling transcode on string object directly. One of the overloads for XMLString::transcode allows you to pass in your own buffer, that way there won't be any issue with mixing runtimes.   Samar Lotia -Original Message-From: renganat

Compilation warnings

2001-11-19 Thread Don Mastrovito
When I first became involved with Xerces, I was amazed at the number of compilation warnings generated when rebuilding the library. I had always assumed that because Xerces was a work-in-progress, that these would eventually be cleaned up. That doesn't seem to be the case. I could make the

IDOM Parser: Bus Error

2001-11-19 Thread Amy Gordon
Hi all, I was wondering if someone might be able to help me with a problem I'm stuck on. I'm trying to use the IDOM parser (version 1_5_2) on a HPUX 11 machine. When I call the actual parse method (parser->parse(*myBuff,false);), I get a bus error and the program stops. XMLPlatformUtils::Initi

Unknown exception from XML API

2001-11-19 Thread Prasad Krishnagiri
Hi, we are using SAXParser(from XML API) for parsing XML. We are doing performance testing. After running commands for 3000 times i.e after parsing 3000 times, it throws an unknown exception which was caught in catch(...) block. We are trying our best to locate the problem. If u can help us

RE: Compilation warnings

2001-11-19 Thread Jesse Pelton
Compilation warnings are not only ugly, they may indicate code that does not function as intended. I think it would be worth cleaning up the warnings. (I think it's a good idea to leave the inlining warnings alone, since that's highly compiler-dependent.) Unfortunately, I'm way down-level, so I c

Problems with Solaris 2.7

2001-11-19 Thread Nataly Rojas
Hii have some problem compiling Xerces 1.4 on Solaris 2.7. Tha Makefile.incl.have an error in line 103.but there is nothing wrong in that line,and the file is ok and complete.what can be wrong?.   Thanks in advanced. Nataly.  

DO NOT REPLY [Bug 4953] New: - Problem with CFLAGS and CXXFLAGS

2001-11-19 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: validate instance doc against schema

2001-11-19 Thread xin wang
Yes. My command line is %DOMCount -v=always -n -s -f the_xml_file_name I expect an error because both id attributes are "1" when it is required to be unique in the schema. Am I missing something obvious? victoria The schema is http://www.w3.org/2001/XMLSchema";>

Re: Compilation warnings

2001-11-19 Thread Dean Roddey
Every compiler puts out different warnings than others. Under VC++, it generally compiles with no warnings at the highest warning level that its reasonable to use. There is one higher but it is very verbose. Since probably no one on the team works regularly with your compiler, its unlikely that th

Re: Compilation warnings

2001-11-19 Thread Don Mastrovito
I never suggested that the inlined functions be removed, as I'm well aware of the advantages they afford. I just found it curious that so many were not being inlined. I did spot checked a large number of those I forwarded to this list and they are all valid. Many are of the form throw ; retu

Re: Compilation warnings

2001-11-19 Thread Herb Chong
another good reason for enabling very verbose warnings and checking the messages is that those places are the places where one is most likely to run into portability problems. coding for minimal messages from the start means less problems later when porting. Herb... Compiler warnings exist fo

Re: validate instance doc against schema

2001-11-19 Thread Rajesh Kommineni
I thought key and keyref(s) are not supported yet. I ended up using ID and IDREF(s). You could try that and see hope this helps rajesh > >Yes. My command line is > %DOMCount -v=always -n -s -f the_xml_file_name > >I expect an error because both id attributes are "1" >when it is required to b

Re: validate instance doc against schema

2001-11-19 Thread xin wang
Are you saying to use DTD instead of schema? I need to use schema. victoria --- Rajesh Kommineni <[EMAIL PROTECTED]> wrote: > I thought key and keyref(s) are not supported yet. I > ended up using ID and > IDREF(s). You could try that and see > > hope this helps > rajesh > > > > > >Yes. My co

Re: validate instance doc against schema

2001-11-19 Thread Rajesh Kommineni
> >Are you saying to use DTD instead of schema? I need >to use schema. > >victoria ewww! I hate DTDs :). You can ID and IDREF(s) in schemas too. Take a look at sample xsd (schema) files located in samples directory rajesh > >--- Rajesh Kommineni <[EMAIL PROTECTED]> wrote: > > I thought key

Re: validate instance doc against schema

2001-11-19 Thread Rajesh Kommineni
> >Are you saying to use DTD instead of schema? I need >to use schema. > >victoria ewww! I hate DTDs :). You can ID and IDREF(s) in schemas too. Take a look at sample xsd (schema) files located in samples directory rajesh > >--- Rajesh Kommineni <[EMAIL PROTECTED]> wrote: > > I thought key

Re: validate instance doc against schema

2001-11-19 Thread xin wang
Just tried ID and IDREFS and had the following problems: 1. They don't seem to like integer values. (When I said id="1", it complained that value '1' is not valid NCName). 2. They seem to behave like DTD ID and IDREFS (IDs have to be unique across the entire xml file, unlike with schema keys whe

Re: validate instance doc against schema

2001-11-19 Thread Rajesh Kommineni
>Just tried ID and IDREFS and had the following >problems: > >1. They don't seem to like integer values. (When I >said >id="1", it complained that value '1' is not valid >NCName). > Value of IDs should follow the rules of XML names i.e., they must begin with a letter(no digits), underscore or co

GCC v3.x and Xerces-C++ (Was: gcc3 configuration)

2001-11-19 Thread Tuan Hoang
For backend C++ with standards compliant STL, I need gcc3. The STL in RH's gcc 2.96.x doesn't seem to be entirely complete. Namely we've had compile time errors using some bitset features. Ok, so I can compile with gcc3. Now the bad part is that I can't compile the Xerces-C++ v1.5.2 sample progr