AW: XML-document checksum

2002-06-14 Thread Ing. Hans Pesata
Hi ! Thanx for your reply ! // Use a digital siganture in your XML...encode some know string // (known to you // only into it) so users cannot edit and generate a new signature, // or go whole hog and use encryption. using a digital signature within my XML-file sounds good, but how can I do thi

AW: utf8 encoding - third try

2002-06-14 Thread Ing. Hans Pesata
Hi Jason! // * add a private member variable curStream to the InputSource and set // it in the makeStream() function // * add a getChecksum method to both the InputSource and BinStream // classes, the InputSource just asks the stream, and the stream // returns the value of the variable. Th

using Xerces and Borland Builder 5.0

2002-06-14 Thread marc masri
hi, i have downloaded the latest windows source as of 6/13/2002, however i am unable to build the Borland projects b/c they were made for BCB6, and i am using BCB5. what is the easiest/best way to use these libraries with my current compiler? Any help would be greatly appreciated! Thank You

FreeBSD Xerces 1.7 compiliation problem

2002-06-14 Thread Des Smith
Im building Xerces C++ 1.7 on FreeBSD.   It cant see the file iconv.h included in the source file   /util/IconvFBSD/IconvFBSDTranservice.hpp   Ive included the –tIocnvFBSD option in the runConfigure command.   Any ideas,   Thanks, Des Smith    

Re: MemBufInputSource/XercesDOMParser wierdness

2002-06-14 Thread Tinny Ng
Jason, I didn't encounter this before. And the problem only arise if using Xerces-Perl, but not with Xerces-C++ directly, right? Since I don't know how Xerces-Perl works, not quite sure what's wrong. If you said it is a bogus "text" node, then I may guess it is the "newline" But now yo

RE: XML-document checksum

2002-06-14 Thread Jesse Pelton
If you use the methods specified in the XML Signature specification (http://www.w3.org/TR/xmldsig-core/), there's no need to encode a magic cookie. Instead, you hash the document contents and sign the hash with a private key. (Before you do the hash, it's a really good idea to canonicalize the doc

MFC- Unicode or ANSI

2002-06-14 Thread Gert van Spijker
I have built an MFC 4.2 MDI application using MSVC 6.0. The app creates an IDOM tree for every MFC Document loaded. It works well; I initially used normal ansi strings in MFC but since Xerces internally uses Unicode, I decided to convert my MFC app to Unicode as well.   I did this yesterday

Re: XML-document checksum

2002-06-14 Thread Vitaly Prapirny
Please, look at http://www.aleksey.com/xmlsec/ XML Security Library is a C library based on LibXML2 and OpenSSL. The library was created with a goal to support major XML security standards: XML Signature XML Encryption Canonical XML (was included in libxml2) Exc

RE: XML-document checksum

2002-06-14 Thread Jesse Pelton
Thanks! Now, if only a similar package based on Xerces were available... -Original Message- From: Vitaly Prapirny [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 8:59 AM To: [EMAIL PROTECTED] Subject: Re: XML-document checksum Please, look at http://www.aleksey.com/xmlsec/ XML

Problem using national (swedish) characters

2002-06-14 Thread Tobias Blomberg
Hi! I have a problem with my swedish characters. It seems that DOMString do not accept them. If I do like this: DOMString dom_str = DOMString::transcode(str); printf("dom_str=%s\n", dom_str.transcode()); Assuming "str" contains swedish characters, the dom_str end up empty. What am I doing wro

DO NOT REPLY [Bug 9732] - calling XML parser from a JNI library crashes the Java VM

2002-06-14 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: MFC- Unicode or ANSI

2002-06-14 Thread Samar Lotia
If everything is unicode, which it seems from your message that it is, then you do not need any conversion. On Win32, XMLCh is UTF-16 little endian. The same is the case for all Win32 wide character string types. Hence no conversion is necessary. You should be okay for non-latin languages. T

Xalan C++ 1.3 and Xerces C++ 1.7 compatibility

2002-06-14 Thread Gordon, M Scott
Hello, I noticed that the Xerces C++ download is now version 1.7.0. See http://xml.apache.org/xerces-c/index.html Which version of Xalan C++ is compatible with Xerces C++ 1.7.0? Is there a way to download older Xerces C++ versions? Any feedback would be greatly appreciated. Thank you, M. Sc

Re: using Xerces and Borland Builder 5.0

2002-06-14 Thread taraben . a
There should be a project file in the CVS. Also you can download the Xerces 1.5 as this release supports the BCB5. Adib. marc masri wrote: > hi, > > i have downloaded the latest windows source as of 6/13/2002, however i > am unable to build the Borland projects b/c they were made for BCB6, and

tools web page

2002-06-14 Thread Gareth Reakes
Hi all, A while ago it was suggested that we create a tools page somewhere off the xerces-c section of xml.apache.org. This was accepted as a good idea. Is there any plans to sort this out? Id be happy to compile a list myself. If maintenance is an issue then a link from the xerces-c se

Will Xerces-C Support Visual Studio .NET ???

2002-06-14 Thread Robert Buck
If so, when? This upcoming release? -Bob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: MemBufInputSource/XercesDOMParser wierdness

2002-06-14 Thread Jason E. Stewart
"Tinny Ng" <[EMAIL PROTECTED]> writes: > I didn't encounter this before. And the problem only arise if using > Xerces-Perl, but not with Xerces-C++ directly, right? Yes, correct. Here's some more info. During the parse the Document is configured correctly, but when I leave parse() and invoke

Re: AW: XML-document checksum

2002-06-14 Thread Jason E. Stewart
"Ing. Hans Pesata" <[EMAIL PROTECTED]> writes: > using a digital signature within my XML-file sounds good, but how > can I do this ? You'd have to write a lot of code yourself. Right now Xerces doesn't support this. jas. - To

RE: Will Xerces-C Support Visual Studio .NET ???

2002-06-14 Thread Dave Connet
> If so, when? This upcoming release? > > -Bob I had no problem compiling 1.6.0 with .net... In the projects\win32 directory, - xcopy /s VC6\*.* VC7\ - handedit the .dsp to change 'VC6' to 'VC7' - open the .dsw in .net. - compile Dave Connet

Re: Will Xerces-C Support Visual Studio .NET ???

2002-06-14 Thread Gert van Spijker
> > If so, when? This upcoming release? > > > > -Bob > I had no problem compiling 1.6.0 with .net... > > In the projects\win32 directory, > - xcopy /s VC6\*.* VC7\ > - handedit the .dsp to change 'VC6' to 'VC7' > - open the .dsw in .net. > - compile As far as building goes, you can just open the

RE: Will Xerces-C Support Visual Studio .NET ???

2002-06-14 Thread Dean Roddey
The primary gotcha is that .Net will link in a new msvcr70.dll, which has a different name from the existing one. So Xerces will use the one it's been built for (the current one), but the client apps built with .Net will link in the new one. So you'll be in the 'one too many runtimes in the kitche