Re: Special character coding

2001-05-30 Thread Dean Roddey
I don't have a big opinion, but clearly this is a much bigger issue than Xerces and would apply equally to all other parsers I would guess. There are a lot of different deployment scenarios to consider. -- Dean Roddey The CIDLib C++ Frameworks Charmed Quark Software [EMAIL

Re: Special character coding

2001-05-30 Thread Jason E. Stewart
"Dean Roddey" <[EMAIL PROTECTED]> writes: > I don't have a problem if people want to contribute DTD fragments > that cover particular encodings, and if those get distributed with > the parser. I was just saying that they couldn't be prebuilt into > the parser itself as predefined entities. They h

Re: Special character coding

2001-05-30 Thread Dean Roddey
I don't have a problem if people want to contribute DTD fragments that cover particular encodings, and if those get distributed with the parser. I was just saying that they couldn't be prebuilt into the parser itself as predefined entities. They have to be parsed in from user's DTDs, when they wan

Re: Special character coding

2001-05-30 Thread Jason E. Stewart
"Dean Roddey" <[EMAIL PROTECTED]> writes: > Lots of encodings are standard encodings. If we had to hard code > every one of the possible named character refs into the parser, it > would be too much of a burden. It makes a lot more sense to have > standard DTD fragments out there that define sets

RE: Bug in scanner

2001-05-30 Thread Chris Hill
I wouldn't have noticed it either, except I was running against a test suite. Chris At 05:54 PM 5/30/2001, Dean Roddey wrote: >That is probably true, and it would be my mistake. It probably works in >99.9% of all cases, which is why its not been caught. But yes, you could >have and that would i

RE: Bug in scanner

2001-05-30 Thread Dean Roddey
That is probably true, and it would be my mistake. It probably works in 99.9% of all cases, which is why its not been caught. But yes, you could have and that would indeed fail. So it should skip just the mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 2:24 PM To: [EMAIL PROTECTED] Subjec

RE: Special character coding

2001-05-30 Thread Dean Roddey
>> I've tried to create entities in the DTD like: and >> then it works better - getNodeValue on "å" then gets me the right >> character.. But using the DOMPrint code on a document as that gives me >> "˚"... > >It's kind of irritating to have to do that, given that 8859-1 is a >standard encod

Memory usage

2001-05-30 Thread Sean Radcliffe
I am using xerces 1.4 with Win32. I am using the existing downloadable binaries. When I parse multiple times in the same process, memory is not relieved after each parse. As a test, I took the sample VC6 project DOMPrint (DOMPrint.cpp), and simply looped the code between the parser creation an

Bug in scanner

2001-05-30 Thread Chris Hill
(Bugzilla appears to be down) In XMLScanner::scanProlog(), to detect an xml decl, the following code is used: fReaderMgr.skippedString(XMLUni::fgXMLDeclStringSpace) I believe this is incorrect. If there is a whitespace other than the space character 0x20 following " XMLUni::fgXMLDeclStringSp

Why not new DOM_Node?

2001-05-30 Thread zartaj . majeed
Xerces-C docs say an application should never new a DOM object since "this will greatly confuse the automatic memory management". I'd appreciate if someone could elaborate on how Xerces memory management could be thrown off by an application newing a DOM instance. It seems Xerces reference countin

Plz Plz Plz BCB4 help!!!!!

2001-05-30 Thread kiuma
Hi! I'm desperate , 'cause I've successfully compiled Xerces 1_3 under BCB4and i'm trying to make a getAttribute and get a value written in german (i.e. chars like Ä) but Xerces under bcb4 makes a lot of confusion reading chars like that. I really need a solution! I tryed my xml file wi

Re: Special character coding

2001-05-30 Thread Jason E. Stewart
"Stefan Berglund" <[EMAIL PROTECTED]> writes: > I've tried to create entities in the DTD like: and > then it works better - getNodeValue on "å" then gets me the right > character.. But using the DOMPrint code on a document as that gives me > "˚"... It's kind of irritating to have to do tha

The library of xerces???

2001-05-30 Thread Karim Hamed
Hi, I tried to build the xerces parser on my machine. Everything works fine. xersion version is : xercees-c-src1_4_0 OS: linux (Redhat distribution 6.2) Compiler: egcs-2.91.66 I can't compile the samples. When the compiler link several meassges messages came up: /opt/xerces/xerces-c-src1_4_0/

Re: Constructing an XML reader

2001-05-30 Thread peiyongz
Yven, To make it simple, you can create a new project and add it into the xerces_all.dsw (the home directory for this project seems sth like : E:\xerces-c-src1_4_0\Projects\Win32\VC6\xerces-all\newProjectName), and you put your souce/header files under \Sample\newProjectName. From pro

Re: XML Schema include feature in Xerces C/C++ implementation.

2001-05-30 Thread Pinto, Michelle
This is to convey my interest in having the "xsd:include" feature implemented in the Xerces C implementation. Thank you. M. Pinto [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: CVS Commit access for Pei Yong Zhang

2001-05-30 Thread James Berry
On 5/30/01 9:13 AM, "Tinny Ng" <[EMAIL PROTECTED]> wrote: > I would like to propose that Pei Yong Zhang be given CVS commit access > for the Xerces-C project. +1. -jdb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Constructing an XML reader

2001-05-30 Thread Dee Jay Randall
I am assuming you are getting a C1083 error when you try to compile your project. If you were to search for that in the MSVC help, you'll find an MSDN page that really explains this in some detail. Take some time to learn about the options in your compilier Basically, you need to add the

RE: XMLCh always 16-bit?

2001-05-30 Thread Dean Roddey
As of a while back, XMLCh was pegged to UTF-16 format, so yes it will be 16 bit for the forseable future. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From: Joseph Boyle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001

RE: Special character coding

2001-05-30 Thread Dean Roddey
"But using the DOMPrint code on a document as that gives me "˚"..." Its escaping the & sign. In some cases that might be what you want, if you want to keep the character in the å form after you parse the resulting XML. If you want the å to be parsed to the actual code point, then it shouldn'

RE: Plan for Xerces 1.5

2001-05-30 Thread Alfredo Munoz
Thank you !, I already read it and I am using the nigthly build pretty well so far. great work!! Alfredo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Miercoles, 30 de Mayo de 2001 12:34 p.m. To: [EMAIL PROTECTED] Subject: RE: Plan for Xerces 1.5 Alfredo,

RE: CVS Commit access for Pei Yong Zhang

2001-05-30 Thread Dean Roddey
He seems to be doing a lot of work here lately, so +1. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From: Bill Schindler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 9:51 AM To: [EMAIL PROTECTED] Subject: Re: CVS C

RE: It's time to update the FAQ!

2001-05-30 Thread Dean Roddey
One very commonly asked one is: How do I transcode to/from something besides the local code page? XMLString::transcode() will transcode from XMLCh to the local code page, and other APIs which take a char* assume that the source text is in the local code page. If this is not true, you must transc

RE: Parse Exceptions vs. fatal errors

2001-05-30 Thread Dean Roddey
That could be done, but if its not a complete solution, then I'm not sure it ends up really being any better than it is now, since there is still the possibility of getting both types of errors and you have to be prepared to do so. -- Dean Roddey Software Geek Extraordinaire Portal, I

RE: DTD Parsers?

2001-05-30 Thread Dean Roddey
You can use the Xerces parser for that. Look at the EnumVal program. Basically, you just build a trivial file in memory that references the DTD you want to parse. Then parse the file. That will parse the DTD and load it up into the validator. You can then enumerate the various bits of information

XMLCh always 16-bit?

2001-05-30 Thread Joseph Boyle
Will XMLCh be guaranteed to continue to be 16-bit in the future? This would simplify code a lot, but if necessary we will code for the possibility of 32-bit XMLCh too. Thanks, Joseph - To unsubscribe, e-mail: [EMAIL PROTECTED]

Special character coding

2001-05-30 Thread Stefan Berglund
Hello, I'm having problems with character coding in my messages. I'm not that good at character standards etc though.. However - I'm using a DOMParser in Xerces-C 1.4 with ISO-8859-1 encoding. I've coded a component that parses a message, modifies it, and returns the modified message in C++ STL

Re: CVS Commit access for Pei Yong Zhang

2001-05-30 Thread Khaled Noaman
+1 Tinny Ng wrote: Hi there, I would like to propose that Pei Yong Zhang be given CVS commit access for the Xerces-C project. Pei Yong Zhang has been active in the project and the mailing list for a while.  And he is one of our major schema subset developer.  He has contributed various schema dev

Re: CVS Commit access for Pei Yong Zhang

2001-05-30 Thread Gareth Reakes
+1 -- Gareth Reakes, Lead Software Engineer DecisionSoft Ltd.http://www.decisionsoft.com Office: +44 (0) 1865 203192 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CVS Commit access for Pei Yong Zhang

2001-05-30 Thread Jason E. Stewart
"Tinny Ng" <[EMAIL PROTECTED]> writes: > I would like to propose that Pei Yong Zhang be given CVS commit access > for the Xerces-C project. Sounds great to me +1 jas. (committer via xerces-p) - To unsubscribe, e-mail: [EMAIL

Constructing an XML reader

2001-05-30 Thread Yven, Gaelle
Hi! I am following your pdf documentation. I can build and run the samples with MS Visual C++ without any problem but when I write my own program (p.57 in the doc) I don't know if I have to include a new project in the xerces-all worspace and how to include the XercesLib file in this project. So

Re: CVS Commit access for Pei Yong Zhang

2001-05-30 Thread Bill Schindler
On Wednesday, May 30, 2001, at 09:13 AM, Tinny Ng wrote: > I would like to propose that Pei Yong Zhang be given CVS commit access > for the Xerces-C project. +1 --Bill Schindler - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Plan for Xerces 1.5

2001-05-30 Thread James Berry
Hi Tinny, I've got some revisions to the Mac OS build, along with support for passing back error count from the parsers, which I'll try to get in by the end of the week. -jdb On 5/30/01 6:20 AM, "Tinny Ng" <[EMAIL PROTECTED]> wrote: > Hi all, > > With the schema subset support added lately, p

RE: Plan for Xerces 1.5

2001-05-30 Thread peiyongz
Alfredo, The supported schema features in the Xerces1.5 is listed in the http://xml.apache.org/xerces-c/schema.html. But development for other schema features is continue and we target to implement all the features of the current XML Schema Recommendation before te end of this year.

Re: Parse Exceptions vs. fatal errors

2001-05-30 Thread Dee Jay Randall
Not that I know what I'm talking about, but would it make sense to have the parser catch all exception ids and rethrow the ones it doesn't understand? Then if you wrote your own input source, you would at least benefit from the exception ids that the parser could understand (and you wouldn't ha

RE: Plan for Xerces 1.5

2001-05-30 Thread Alfredo Munoz
Just couple of question, the nightly build that I am using for testin Schemas ( build 22/05/2001) is working fairly well, with the known restrictions/not supported features. >From now on you plan to add more Schemas features that may be ready by Xerces 1.5 ? if so which ones are in the list ? Gro

CVS Commit access for Pei Yong Zhang

2001-05-30 Thread Tinny Ng
Hi there, I would like to propose that Pei Yong Zhang be given CVS commit access for the Xerces-C project. Pei Yong Zhang has been active in the project and the mailing list for a while. And he is one of our major schema subset developer. He has contributed various schema development items suc

Re: It's time to update the FAQ!

2001-05-30 Thread bkash
FAQ entry #24 needs to be updated == Current entry is... http://xml.apache.org/xerces-c/faq-parse.html#faq-24 "Why does deleting a transcoded string result in assertion on windows?" You are mixing runtimes in your process. If you build your program with debug, link to the debug version of

Re: Plz help BCB4!!!!!

2001-05-30 Thread Joseph_Kesselman
Did you remember to specify the correct encoding in your declaration, at the top of your file? Is it an encoding that Xerces actually supports? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: Plan for Xerces 1.5

2001-05-30 Thread Tinny Ng
Yes of course. That's the main feature/purpose of Xerces 1.5. Tinny "Peter A. Volchek" wrote: > Will it include the XMLSchema support? (at least those that can be found in > night build) > > Peter A. Volchek > Software Engineer > Metis International, Inc. > [EMAIL PROTECTED] > > > Hi all, > >

Plz help BCB4!!!!!

2001-05-30 Thread kiuma
Hi! I'm desperate , 'cause I've successfully compiled Xerces 1_3 under BCB4and i'm trying to make a getAttribute and get a value written in german (i.e. chars like Ä) but Xerces under bcb4 makes a lot of confusion reading chars like that. I really need a solution! ___

Re: Plan for Xerces 1.5

2001-05-30 Thread peiyongz
Peter, Yes, it includes the Schema support as stated in http://xml.apache.org/xerces-c/schema.html. Regards, Peiyong Zhang XML Parsers Development IBM Toronto Laboratory email: [EMAIL PROTECTED] Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778

RE: DTD Parsers?

2001-05-30 Thread peiyongz
Ian and Hal, To parse the actual DTD, you can create a dummy instance xml file, which has the normal prolog, and in the Document Type Declaration section, refer to the DTD file you wanna to scan. Use the EnumVal Sample, you can have the detail information about the elements and attribu

RE: DTD Parsers?

2001-05-30 Thread Ian Sweeny
That sounds promising. We too have a limited number of DTD's so this may be an option for us. Thanks for that... -Original Message- From: Hal DeVore [mailto:[EMAIL PROTECTED]] Sent: 30 May 2001 16:17 To: Ian Sweeny Cc: [EMAIL PROTECTED] Subject: Re: DTD Parsers? > On Wed, 30 May

Re: DTD Parsers?

2001-05-30 Thread Joseph_Kesselman
I've never seen a stand-alond DTD parser; it's always been built into a general XML parser. The problem is, there generally isn't an API to access the DTD parser alone, and neither SAX nor DOM yet do a great job of representing the DTD's contents. Usual solution has been to construct a dummy doc

Re: Plan for Xerces 1.5

2001-05-30 Thread Peter A. Volchek
Will it include the XMLSchema support? (at least those that can be found in night build) Peter A. Volchek Software Engineer Metis International, Inc. [EMAIL PROTECTED] > Hi all, > > With the schema subset support added lately, plus a number of important > fixes since Xerces 1.4, I think it's

Re: DTD Parsers?

2001-05-30 Thread Hal DeVore
> On Wed, 30 May 2001, "Ian" == Ian Sweeny wrote: Ian> I want to parse actual DTD's, as the post says. Sorry, poked the send button before I meant to. I also need to parse DTDs for an application that needs to edit specific XML files. One approach I'm considering is to run the DTD thr

Re: DTD Parsers?

2001-05-30 Thread Hal DeVore
> On Wed, 30 May 2001, "Ian" == Ian Sweeny wrote: Ian> I want to parse actual DTD's, as the post says. Me too. Haven't turned one up yet, though. --Hal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE: DTD Parsers?

2001-05-30 Thread Ian Sweeny
I don't want to parse XML with DTD validation (i can do that already thanks) I want to parse actual DTD's, as the post says. I'm not worried what it parses down to, just as long as its a structured format that I can use. Otherwise I'll have to write something myself which I don't have time to d

It's time to update the FAQ!

2001-05-30 Thread peiyongz
Hi, there, I am now updating the FAQ with some schema-related quick questiones. If you have any Xerces-C FAQ wanna to get in, it's the opportunity for us to gather the information. If you have anything for the migration guide, programming guide, build instruction or

Re: DTD Parsers?

2001-05-30 Thread peiyongz
You may find the XercesLib1_4 at http://xml.apache.org/dist/xerces-c/stable/, which has a DOMParser and a SAXParser can do parse xml file and do DTD validation. Have a look at "build instruction" and "samples" which may help you to learn how to use those parsers. Regards, Peiyong Zhang ___

Re: Trying to write a DOM document into a string, with encoding iso-8 859-8.

2001-05-30 Thread peiyongz
David, You may download Xerces1_4 and the fix is there. In the case you prefer to use XML4C, build the XML4C3_3_1 (in Debug mode) and try it. Regards, Peiyong Zhang XML Parsers Development IBM Toronto Laboratory email: [EMAIL PROTECTED] Phone: (4

DTD Parsers?

2001-05-30 Thread Ian Sweeny
I am looking for DTD C++ parsers. Does anyone know of any? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Plan for Xerces 1.5

2001-05-30 Thread Tinny Ng
Hi all, With the schema subset support added lately, plus a number of important fixes since Xerces 1.4, I think it's now time for us to build the Xerces 1.5. Pei Yong Zhang has volunteered to help us build the Xerces 1.5. In the next two weeks, he will start updating the project files, documenta

Re: Library Linking Errors Using Sun Make Utility

2001-05-30 Thread Carl_Erhorn
Jeff, I have found in general that gmake files will not work with the native make programs. The reason being that gmake adds more functions to the make file, and there are no equivalent functions in make. So if these functions are used, the makefile will never work for the native make. You can

RE: Library Linking Errors Using Sun Make Utility

2001-05-30 Thread Hespelt, Steve (Exchange)
if there is not a political barrier to installing gnu make, you can get gnu make (& other) pre-built binaries at www.sunfreeware.com. src kits are also there. Can you email the output from your make process so we can look at the error messages? good luck. -steve > -Original Message- > Fro

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: is XPath coming to Xerces-C?

2001-05-30 Thread Gareth Reakes
Hi, there is talk of creating XPath for DOM at which point it will probably get incorporated into Xerces. At the moment you can use Xalans XPath functionality and a bridge. I have never done this so can not advise you any more. At my company we have created a XML Scripting language which uses XP