Re: Linker warning LNK4006 problem...

2005-03-18 Thread Radovan Chytracek
, > > At 02.37 18/03/2005 +0100, Radovan Chytracek wrote: > >Hi, > > > >after long time I tried to build our libraries against XercesC on > >Windows using MsDev .NET 2003 and I am getting over 13000 these > >warnings when creating static library. I was checking a

Linker warning LNK4006 problem...

2005-03-17 Thread Radovan Chytracek
xerces-c_2D.lib(xerces-c_2_6D.dll); second definition ignored xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006: "public: static unsigned short __cdecl xercesc_2_6::XMLEBCDICTranscoder::xlatThisOne(unsigned char)" ([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]) already defined in xerces-

RE: Applying in memory Schema

2004-10-14 Thread Radovan Chytracek
Hi, may be implementing your EntityResolver whould help you to get it into your app. Cheers Radovan Radovan ChytracekCERN, IT/DB, LCG (SEAL in POOL) mailto:[EMAIL PROTECTED] Web: http://cern.ch/chytrace phone: +41 22 76 74578 fax: +41 22 76 77155

Re: Pass variable between two function with SAX

2004-07-10 Thread Radovan Chytracek
Hi, make them as data member variables of the class implementing SAX interface. Cheers Radovan - Original Message - From: "Daniele Carlucci" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, 09 July, 2004 2:06 PM Subject: Pass variable between two function with SAX

RE: Schema problem

2004-06-16 Thread Radovan Chytracek
} as { 1, 1 } which can't be restricted. Cheers Radovan Radovan ChytracekCERN, IT/DB, LCG (SEAL in POOL) mailto:[EMAIL PROTECTED] Web: http://cern.ch/chytrace phone: +41 22 76 74578 fax: +41 22 76 77155 > -Original Message- > From: Tony Dod

Re: Installation instruction requests

2003-12-12 Thread Radovan Chytracek
Hi, you should run the "runConfigure" script instead of 'configure'. All runConfigure options are available as shown on Xerces-C web pages: runConfigure: Helper script to run "configure" for one of the supported platforms Usage: runConfigure "options" where options may be any of the follow

RE: Exceptions not caught when parsing (gcc2 v. gcc3 on Linux)

2003-03-05 Thread Radovan Chytracek
RH G++ 2.96 has C++ ABI incompatible with G++ 2.95-x and G++ 3.2.x. Don't try to mix them. Stick to either 2.96 or G++ 2.95/3.2 . If you have RH8.0 you're fine, just rebuild Xerces-C from source. If you insist on getting the binary dist. for Xerces-C then have a look at the xerces-c-dev list archiv

Re: Xerces and C++ class serialization

2002-12-04 Thread Radovan Chytracek
The problem in C++ comes from the fact it has no reflection built-in o the language run-time. C++ RTTI is very basic comparing to the Java and C# reflection machinery. You can't do automatic XML serializatoin unless you provide some service(s) helping it to obtain C++ meta data about C++ objects.

RE: Elements allowed anywhere

2002-09-20 Thread Radovan Chytracek
Hello, try to make them members of the substitution group of the EmbeddedFile element. Cheers Radovan Radovan Chytracek CERN, Division IT/API, Geant4 Collaboration e-mail: [EMAIL PROTECTED] WWW: http://home.cern.ch/chytrace phone: +41 22 76 78871

RE: group-all

2002-05-30 Thread Radovan Chytracek
Hi,     XMLSpy is a very nice schema editor, but I would not trust it completely as its validation is too liberal. My experience is that in most cases when Xerces-C validates it is valid with other tools as well. Xerces-C is not 100% yet but at least you can check what's already working. I a

RE: ID IDREF

2002-05-24 Thread Radovan Chytracek
ect: RE: ID IDREF > > > A follow up question why does the Xerces Java version allow this? > > I'm getting beat up by the java programmers :) > > -Original Message- > From: Radovan Chytracek [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 9:02 AM

RE: ID IDREF

2002-05-24 Thread Radovan Chytracek
Hi, it can't be done. XML Spec clearly says, that ID must be unique inside XML document. Your XML document is invalid. Sad but true. Cheers Radovan > -Original Message- > From: Wuebben, Anthony E. (LNG) [mailto:[EMAIL PROTECTED]] > Sent: Friday, 24 May 2002 14:41 > To: [E

RE: question about null integer

2002-05-23 Thread Radovan Chytracek
Hi, yes, during that time was W3C XML Schema support gradually improving in Xerces-C. > Great, that worked! I tried that using version 1.5.2 > and it didn't work. Was this fixed somewhere between > 1.5.2 and 1.7.0? > > victoria > > --- Radovan Chytracek <[EMAI

RE: question about null integer

2002-05-23 Thread Radovan Chytracek
Hi, try as: Cheers Radovan > -Original Message- > From: xin wang [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 23 May 2002 21:46 > To: [EMAIL PROTECTED] > Subject: question about null integer > > > If I define an element to be of type integer -- > > > > Then I say > >

RE: DOM_Node::getPrefix() always returns NULL

2002-05-14 Thread Radovan Chytracek
mDefault="qualified"> > > > > > > > > > > > > > > But the output I get is exactly the same than before (prefix is NULL). Do > you have some other hints of something I can try? Thanks. > > > >From: "Radova

RE: DOM_Node::getPrefix() always returns NULL

2002-05-14 Thread Radovan Chytracek
Hi, did you try to set the attribute as: elementFormDefault="qualified" ??? Radovan > -Original Message- > From: David R. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 14 May 2002 15:41 > To: [EMAIL PROTECTED] > Subject: Re: DOM_Node::getPrefix() always returns NULL > > > Sor

RE: Call for Vote: which one to be the Xerces-C++ public supported W3C DOM interface

2002-05-07 Thread Radovan Chytracek
Hi, would the following proposal work for most of the developers and users of Xerces-C? DOM_X (original DOM interface) -- This original interface will be adapted on top of patched IDOM by Lenny, using implicitly reference counting, so for its current users

Re: tree-parsing with SAX2 ???

2002-04-20 Thread Radovan Chytracek
Hi, install your own stack keeping the track of the nesting levels. Neither one provides this info via standard SAX or SAX2 APIs. Cheers Radovan > Hi ! > > I am currently writing an XML-parser using XERCES 1.7.0 with VC++ 6.0. > > We are replacing an old proprietary file-f

RE: How to get name from DefaultHandler::error

2002-03-19 Thread Radovan Chytracek
Hi, In order to know which element is buggy you can install your own stack keeping track of nesting of elements and insert the top of the stack out into the SAXParseException message if you want. I don't know how much is this accurate but it gives at least an idea which element was the last proces

RE: fatal error with seemingly innocent file

2002-02-20 Thread Radovan Chytracek
Hi, well the STL string may be the source of your problem. Try to parse your file as shown in the Xerces-C MemParse example. Cheers Radovan > > I'm using 1.5.2 > > I fixed the one typo in the middle of the file and that doesn't change > anything. I'm reading from the file into a st

RE: fatal error with seemingly innocent file

2002-02-20 Thread Radovan Chytracek
Hi, works for me! What version of Xerces-C are you running? Radovan > -Original Message- > From: Hundtofte, Christopher Sean > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 20 February 2002 15:31 > To: '[EMAIL PROTECTED]' > Subject: RE: fatal error with seemingly innocent file >

RE: X-Path

2002-02-13 Thread Radovan Chytracek
Hi, it seems to me as XUpdate functionality. I'm not aware of an implementation of XUpdate in C++. There is Lexus written in Java. You could check their spec http://www.xmldb.org/xupdate/index.html . Radovan > Hi All > I have downloaded and started working with Xpath(PATHAN). > ,I need

Re: Does Xerces_C support C?

2002-02-07 Thread Radovan Chytracek
Hi, you can try James Clark's Expat http://expat.sourceforge.net GNOME libXML http://www.xmlsoft.org Oracle XDK for C http://otn.oracle.com/tech/xml/xdk_c/content.html Cheers Radovan - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frida

Re: XML Schema circular definitions

2002-01-14 Thread Radovan Chytracek
Hi, > I wish. If I could get a single tool to validate documents against my XML > schema under Linux then I'd be happy! Have you tried the Turbo XML 2.2 from www.extensibility.com? Radovan - To unsubscribe, e-mail: [EMAIL PR

RE: Re[2]: compiling under cygwin

2001-11-02 Thread Radovan Chytracek
from http://cygwin.com and update your mingw setup. Cheers Radovan > -Original Message- > From: nacho [mailto:[EMAIL PROTECTED]] > Sent: Friday, 02 November 2001 18:54 > To: Radovan Chytracek > Subject: Re[2]: compiling under cygwin > > > Of course I did that!! >

RE: compiling under cygwin

2001-11-02 Thread Radovan Chytracek
Hi, next time do in cygwin: $> find /usr | grep wctype.h /usr/include/mingw/wctype.h $> > I went to the Cygnus mailing list but couldn't find an answer, only > that Cygwin seems to have the functions declared in wctype.h > implemented, so it must have it defined somewhere! --

RE: Newbie: undefined references when initializing

2001-10-25 Thread Radovan Chytracek
Hi, your makefile is not complete, you have no mention of the Xerces-C library in the link statement. Correction to your makefile is: > - > > (from Makefile) > > obj = main.o TServer.o TDesc.o > > mymud : $(obj) > g++ -g -o mymud $(obj) -L/home/pos/xerces-c-src1_5_1/lib -lx

RE: internal compiler error

2001-10-03 Thread Radovan Chytracek
--- char* transcoded = XMLString::transcode( fromXMLCh );   std::string myStr = transcoded;   ...   delete [] transcoded; -------    --  Radovan Chytracek  CERN Division IT/API, Geant4  e-mail: [EMA

Re: DTD and DomParser

2001-08-30 Thread Radovan CHYTRACEK
for multiple XML files which follow the same DTD definition. They can't have internal DTD subset in this case. Please look at the FAQ and/or archives for this topic. Radovan -- Radovan Chytracek CERN Division IT/API, Geant4 e-mail: [EMAIL PROTECTED] WWW: http://ce

Re: porting Java to C++

2001-08-30 Thread Radovan CHYTRACEK
method delete [] xmlstr; Hope this helps Radovan -- Radovan Chytracek CERN Division IT/API, Geant4 e-mail: [EMAIL PROTECTED] WWW: http://cern.ch/chytrace phone: +41 22 76 78871

Re: DTD and DomParser

2001-08-30 Thread Radovan CHYTRACEK
can supply the fully qualified path or relative path. In the example above it will search for the file myschema.dtd in the directory where the file is sitting. Hope this helps Radovan -- Radovan Chytracek CERN Division IT/API, Geant4 e-mail: [EMAIL PROTECTED] WWW: htt

Re: Can I Stop reader and start it again from where i stopped

2001-06-15 Thread Radovan CHYTRACEK
Hi, go to http://cern.ch/hepmaterials/readme.html and download the source distribution of the simple validator. This simple application goes through a XML document and when it finds an URI it postpones parsing and launches HREF checker in progressive parsing mode which only jumps into the re

Re: Problem deleting transcoded data

2001-05-31 Thread Radovan Chytracek
Hi, the buffer coming the transcode call must be deleted by "delete [] sp;" and not by the simple delete sp; If it works for you it's by an accident. Radovan - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, 31 May, 2001 11:32 PM Subject: RE: Pr

Re: building xerces on cygwin

2001-05-30 Thread Radovan CHYTRACEK
"Downey, Nathan" wrote: > > Has anyone built xerces on the cygwin platform? Hi, I have given it a try. Not a real success, because configuration failed already on pthreads library which is in cygwin case built-in to the cygwin.dll and the implementation is not complete. Another question is whet

Re: Problem with using Xerces-c 1.4 together with strings.

2001-04-19 Thread Radovan CHYTRACEK
[EMAIL PROTECTED] wrote: > > Dear all. > > If this is the wrong place to post this, I would appreciate if you could > point me in the right direction. > > I would like to do something like this: > > #include // <-- offending part > // Include Xerces stuff I have run to the similar problem. I

RE: Namespace problem in latest code

2001-04-03 Thread Radovan Chytracek
The latest XML Namespaces W3C Rec. says: -- Namespace Constraint: Prefix Declared The namespace prefix, unless it is xml or xmlns, must have been declared in a namespace declaration attribute in either the start-tag of the element where the prefix is used or in an an ancestor elem