Re: Base64 efficiency

2003-09-02 Thread Jeffrey Rodriguez
Not all binary data is double byte data (*XMLCh"); implementing Base64 using XMLByte allows to Base64 encodie/decode any byte size data. You could easily encode double byte data by converting them into byte data and viceversa for decoding Base64 data. The alphabet is really an array of XMLBy

update from xerces 1.7.0 to 2.3.0

2003-09-02 Thread regine . bauer
Hello, I am updating from Xerces 1.7.0 to 2.3.0. In 1.7.0 I could create a XML-Declaration Node with m_Dokument.createXMLDecl( S_xmlDeclVersion, "UTF-8", S_xmlDeclStandalone ). Now, how can I do this in 2.3.0, as DOMDocument no longer has a similar method ? Thanks! --

Re: posting code

2003-09-02 Thread Mark Deric
I can't believe I'm reading this. While I am not a contributor to Xerces-C, I am a faithful consumer; our company is in the process of converting our UI messaging system to XML, to mate with our daemon suite product's underlying XML runtime and persistent configuration. The UI is Java, and the un

Re: posting code

2003-09-02 Thread sebastien demers
I didn't know that in year 2003 standard C++ library was not supported in all common platforms and compilers. (Since the Standard was published in 1998 and it's supported by all win32 compilers for several years) I can imagine how the library could be optimized both in speed and in size if it woul

Re: Base64 efficiency

2003-09-02 Thread PeiYong Zhang
Adam,       The algorithm (from the RFC) to encode/decode is based on byte, therefore it is more appropriate to do the conversion in terms of XMLByte (which is a byte) rather than XMLCh (which could be NOT a byte).       Application can use the decode(XMLCh*) while internally it is done in d

DO NOT REPLY [Bug 22884] New: - Make install

2003-09-02 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

Base64 efficiency

2003-09-02 Thread Adam Heinz
Does anybody know why Base64 (2.3.0) encode goes from XMLByte* to XMLByte*, instead of going straight to XMLCh*? Given the primary use of Base64 encoding per MIME, I would think that the desired output would always be XMLCh* text. Peeking inside Base64.cpp, the Base64 alphabet is defined with

RE: xerces 2.3.0 Win32 static library, possible?

2003-09-02 Thread Jesse Pelton
Based on my experience (including reading this list for years), what you've done is no sin. I've used Xerces 1.2 and 2.0 as static libraries on Win32 systems for ages. In addition to the changes you've made, I opted to always use the in-memory message loader. I haven't run into any problems, tho

Re: Validating an XML document against an external DTD

2003-09-02 Thread Neil Graham
Hi Yves, Currently, if the document has no DTD, there's no mechanism for using a DTD to validate it. I doubt this would be too hard to build in, and if someone were to implement it (under some kind of appropriate feature since it would be non-conformant to the XML spec), I suspect the odds of the