DO NOT REPLY [Bug 22177] New: - The DOM parser doesn't place the allocate the document using the specified memory manager

2003-08-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: UTFDataFormatException (bitwise AND error inXMLUTF8Transcode r)

2003-08-14 Thread Huynh, Ha
Thanks Neil. You're right it doesn't work with UTF-8 encoding. Looks like my editor had changed the encoding when I edited the original file. Another question. In my ErrorHandler the following methods error, warning, and fatalError are all passed the argument SAXParseException. Anyway I can deci

RE: UTFDataFormatException (bitwise AND error in XMLUTF8Transcode r)

2003-08-14 Thread david_n_bertoni
Hi Neil, One possibility would be to have another error handling class which does or does not derive from ErrorHandler, and let someone set that. Then, that instance could take precedence over any SAX ErrorHandler instance, and the parser could report errors through the Xerces-specific instan

Re: UTFDataFormatException (bitwise AND error in XMLUTF8Transcoder)

2003-08-14 Thread Neil Graham
Hi Ha, There's no doubt that the attached file is not well-formed. The 0xb7 characters are definitely not properly encoded in UTF-8 (they'd need to be encoded as 0xc2 0xb7 in order for the encoding to be proper (if I've done the conversion correctly). If no encoding declaration is specified, an

Re: Problem with 'setNewLine()' (Xerces 2.1.0/WinNT4.0)

2003-08-14 Thread oliver . white
Hi folks, I got no reply to this email, hopefully you can fill me in on some details. Will setNewLine() work without the following method call to the serializer? setFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true); TIA! == Oliver White Software Engineer Product Dev

MSVC Warning (Level 3)

2003-08-14 Thread Matthew Berry
Has anyone else noticed that the many "copy constructor could not be generated" warnings that appear when the compiler warning level is set to maximum? I'm not trying to build Xerces-c, but just included the header files I need in my project.   Are these valid warnings? Do I need to worry

DO NOT REPLY [Bug 21882] - TraverseSchema::checkAttDerivationOK() incorrect for prohibited attributes

2003-08-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

Error In using greek alphabets in XML file:UTFDataFormatException error

2003-08-14 Thread Hemant Bhatt
hello everyone. sorry for asking a very basic doubt. i want to use greek alphabets in CDATA section like but the parser gives an error, how to handle it? otherwise the document is well formed. attached to the mail is XML file which gives error. Error encountered is:: Fatal Error at file

Re: Empty DOMTypeInfo

2003-08-14 Thread Gareth Reakes
Hi, I implemented TypeInfo a while back against http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/core.html#TypeInfo which does not say to expose anon types. The new specification http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030609/core.html#TypeInfo says "Otherwise, expose the

Re: Dynamic link error using Linux gcc.

2003-08-14 Thread Ilan Nehama
Hi It searches libxerces-c.so.22. I can see that by the link error message I get and when using ldd. The same problem happens to me when compiling the samples attached to xerces (DOMPrint, etc.) Thanks Ilan |-+> | | Stephen White| |

DO NOT REPLY [Bug 22178] - XMemory is incompatible with Visual C++ debug macros

2003-08-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

link error

2003-08-14 Thread Pablo . Cardoso
hello, i think that there is a problem to link the librairies with xerces 2.3.0 hor HPUX with the gcc compiler, the objects are created, but not the exe, what can i do? this is the error message that i have: "XMLPlatformUtils" non déclaré ( premiere utilisation dans cette fonction) ---

DO NOT REPLY [Bug 22441] New: - ReaderMgr may delete fCurReader twice

2003-08-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: Xerces C++ and JNI

2003-08-14 Thread Peter Guyatt
Hi, Why dont you use the Xerces java parser ? Pete -Original Message- From: Esther Parrilla Endrino [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 11:00 To: [EMAIL PROTECTED] Subject: Re: Xerces C++ and JNI Hi Pete, yes I am doing: // Initialize the XML4C system try

RE: Xerces C++ and JNI

2003-08-14 Thread Peter Guyatt
Hi, This may sound like a stupid comment to make but have you initialised the Xerces library by using the XMLPlatformUtils::Initialize(); method ? if the class with the JNI interface is not in a thread that keeps a constant handle on the library, it will be garbage collected, so you would

DO NOT REPLY [Bug 22177] - The DOM parser doesn't place the allocate the document using the specified memory manager

2003-08-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: Xerces C++ and JNI

2003-08-14 Thread Peter Guyatt
Hi, Just a thought but are you pointing the JVM at the xerces library as well as the library that calls the Xerces library ? Thanks Pete -Original Message- From: Esther Parrilla Endrino [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 11:20 To: [EMAIL PROTECTED] Subject: Re: Xerce

DO NOT REPLY [Bug 22168] - memory not releaser by DOMParser

2003-08-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: Xerces C++ and JNI

2003-08-14 Thread Miroslaw Dobrzanski-Neumann
On Thu, Aug 14, 2003 at 11:04:53AM +0200, Esther Parrilla Endrino wrote: > Hi all, > > Well my question is related to Xerces and to JNI too, I apologize if > maybe this is not the correst list to ask for... > > I am doing and application in java that must use one class made in C++, > this class

Empty DOMTypeInfo

2003-08-14 Thread Matthew Berry
Hi, I am trying to read the type info for an attribute, which is of my own defined enumeration. Both getNamespace() and getName() are null. I would at least expect my own namespace come through. The problem occurs for the 'TYPE' attribute for the 'MSG' element.

RE: MSVC Warning (Level 3)

2003-08-14 Thread Mark Weaver
You can always turn it off just for those files by wrapping the includes in #pragma warning(disable: ) ... #pragma warning(default: ) > -Original Message- > From: Matthew Berry [mailto:[EMAIL PROTECTED] > Sent: 11 August 2003 15:19 > To: [EMAIL PROTECTED] > Subject: RE: MSVC Warnin

Xerces C++ and JNI

2003-08-14 Thread Esther Parrilla Endrino
Hi all, Well my question is related to Xerces and to JNI too, I apologize if maybe this is not the correst list to ask for... I am doing and application in java that must use one class made in C++, this class calls Xerces C++ to validate files. Everything is OK using JNI, but the only method th

Re: Empty DOMTypeInfo

2003-08-14 Thread Gareth Reakes
Ill take a look at this today or tomorrow. Gareth On Wed, 13 Aug 2003, Matthew Berry wrote: > Hi, > > I am trying to read the type info for an attribute, which is of my own > defined enumeration. Both getNamespace() and getName() are null. I would at > least expect my own namespace come throu

DO NOT REPLY [Bug 22398] New: - Old iostreams, cannot compile on VC++ 2003

2003-08-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: Problem with Xerces 2.30 build on C++ Builder 6

2003-08-14 Thread Vitaly Prapirny
Hi ! Please use cvs version of xerces sources. Maybe patch from bug 16933 must also be applied (if you want to have correct error messages). Good luck ! Vitaly "Marcin Rze╪nicki" wrote: > > Hello > I've experienced that kind of problem when trying to build Xerces in BC++B > 6.0 : I opene

DO NOT REPLY [Bug 22398] - Old iostreams, cannot compile on VC++ 2003

2003-08-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: Xerces C++ and JNI

2003-08-14 Thread Esther Parrilla Endrino
Hi Pete, yes I am doing: // Initialize the XML4C system try { XMLPlatformUtils::Initialize(); } catch (const XMLException& toCatch) { cerr << "Error during initialization! :\n" << StrX(toCatch.getMessage()) << endl; } and at the end: XMLPlatfor

memory not releaser by DOMParser

2003-08-14 Thread Peter Guyatt
Hi, Are you actually calling the parser.resetDocumentPool() method. This will delete all of the DOM trees that has been build up, since every time you call the DOMParser.parse method it adds the new DOM tree to an internal vector. Thanks Pete --

Re: MSVC Warning (Level 3)

2003-08-14 Thread Gareth Reakes
have you tried this with CVS? We did a wedge of windows fixes after 2.3 Gareth On Mon, 11 Aug 2003, Matthew Berry wrote: > Has anyone else noticed that the many "copy constructor could not be > generated" warnings that appear when the compiler warning level is set to > maximum? I'm not tryin

DO NOT REPLY [Bug 22168] New: - memory not releaser by DOMParser

2003-08-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: Dynamic link error using Linux gcc.

2003-08-14 Thread Stephen White
Original Message > From Ilan Nehama <[EMAIL PROTECTED]> > Date: Wednesday, 13 Aug 2003, 09:42 > > I am using xerces 2.2 on both AIX and Linux. > I compile the library xerces and then change its name and move it to > another directory. > That way I have in one directory the two libraries.

Dynamic link error using Linux gcc.

2003-08-14 Thread Ilan Nehama
Hi I am using xerces 2.2 on both AIX and Linux. I compile the library xerces and then change its name and move it to another directory. That way I have in one directory the two libraries. When compiling on AIX using xlC the compilation+linkage succeeded in finding the library and linking to it, an

DO NOT REPLY [Bug 20058] - Parser crash when fed with invalid schema

2003-08-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: UTFDataFormatException (bitwise AND error in XMLUTF8Transcode r)

2003-08-14 Thread Neil Graham
Hi Ha, In short, no. In the Java version of SAX--which the API we support is very closely modeled on--SAXExceptions may wrap other exceptions, and there is a method for getting the wrapped exception. Presumably, applications with knowledge of the underlying implementation can then do instanceo

DO NOT REPLY [Bug 20058] - Parser crash when fed with invalid schema

2003-08-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

Problem with 'setNewLine()' (Xerces 2.1.0/WinNT4.0)

2003-08-14 Thread oliver . white
We are trying to force Xerces to serialize out XML with PC-style linebreaks (0x0D0A) and having no luck. Whatever we do UNIX-style ones are written out (0x0A). This is what we are doing: { XercesDOMParser parser; // the file we are parsing has been created by an XML-editing tool. That

Re: Xerces C++ and JNI

2003-08-14 Thread Esther Parrilla Endrino
Hi! Yes, I am using j2sdk 1.4 and this is a constrain in my project so I cannot change it... and my platform is Linux Red Hat 7.3... esther Miroslaw Dobrzanski-Neumann wrote: On Thu, Aug 14, 2003 at 11:04:53AM +0200, Esther Parrilla Endrino wrote: Hi all, Well my question is related to Xerces

Removing text nodes from a DOM Tree

2003-08-14 Thread David J Craigon
A very easy question methinks: Can anyone thing of a fast way of removing all of the text nodes from a DOM tree, leaving just the element,attribute nodes etc. remaining? I'm currently using a DOMTreeWalker but it's very slow. Thanks, David ---

UTFDataFormatException (bitwise AND error in XMLUTF8Transcoder)

2003-08-14 Thread Huynh, Ha
I am getting a UTFDataFormatException when using the following xml doc (attached). It appears to be complaining about the "bullet" character. Note the xml doc contains hidden character (LATIN A with circumflex) right before the bullet. If I add the encoding="UTF-8" there is no UTFDataFormatExcept

RE: MSVC Warning (Level 3)

2003-08-14 Thread Matthew Berry
Gareth, As you suspected, I am using the the Windows stable release 2_3_0. I don't have access to CVS or want to have to rebuild the static libraries - so I'll just ignore the warning until the next stable release :-) -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent:

DO NOT REPLY [Bug 22178] - XMemory is incompatible with Visual C++ debug macros

2003-08-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

Bug report for Xerces-C++ [2003/08/10]

2003-08-14 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Re: Xerces C++ and JNI

2003-08-14 Thread Esther Parrilla Endrino
I do not use Java parser because I have to link with this C++ API which is the one that calls Xerces. Peter Guyatt wrote: Hi, Why dont you use the Xerces java parser ? Pete -Original Message- From: Esther Parrilla Endrino [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 11:00 To: [EMAIL

RE: Xerces C++ and JNI

2003-08-14 Thread R, Chaithanya
There was some talk on using Xerces-C in java. Refer http://marc.theaimsgroup.com/?l=xerces-c-dev&m=102761215111992&w=2 for more info on this topic. Chaitanya. -Original Message- From: Esther Parrilla Endrino [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 3:50 PM To: [EMAIL PRO

DO NOT REPLY [Bug 16933] - All error messages null in SAX and DOM parsers

2003-08-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