RE: dtdvalidator doesn't find copyright character

2001-05-07 Thread Dean Roddey
Nope. If a BOM or XMLDecl is present and allows the parser to figure out that its really UTF16, then it can be UTF-16 by default. Else its UTF-8. You should read Mr XML Spec. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From:

Re: getEntities() failure

2001-05-07 Thread Jason E. Stewart
"Jason E. Stewart" <[EMAIL PROTECTED]> writes: > "Jason E. Stewart" <[EMAIL PROTECTED]> writes: > > > I've been wrestling with printing out the values of Entities defined > > in the internal subset of the DOCTYPE. I've discovered that to get the > > info I need to have setCreateEntityReferenceNo

Re: dtdvalidator doesn't find copyright character

2001-05-07 Thread Stan
Hi, The xml document doesn't have a encoding format tag in it. Is the default non Latin-1 ? -Stan Dean Roddey wrote: > What encoding is your document in? It must indicate that it is in 8859-1 if > you are going to use characters from that encoding. > > -- > Dean Roddey > Softwa

RE: Problem initializing and terminating XMLPlatformUtils more than o nce in a program

2001-05-07 Thread Mitchell, Raymond
Thanks. I realize now that this is covered in the FAQ. I actually do have a need to initialize and terminate the utilities multiple times in a single process. I have several different libraries that use Xerces-C, each needing to initialize the platform utilities individually. I use these libra

Re: getEntities() failure

2001-05-07 Thread Jason E. Stewart
"Jason E. Stewart" <[EMAIL PROTECTED]> writes: > I've been wrestling with printing out the values of Entities defined > in the internal subset of the DOCTYPE. I've discovered that to get the > info I need to have setCreateEntityReferenceNodes(TRUE). I would love > to know where this is documented

Re: Problem initializing and terminating XMLPlatformUtils more than o nce in a program

2001-05-07 Thread walker . curtis
Hi Raymond, The short answer is you can't terminate more than once. There are many discussions on this topic in the mailing list archive. http://marc.theaimsgroup.com/?l=xerces-c-dev Cheers, Walker [EMAIL PROTECTED] on 05/07/2001 03:16:51 PM Please respond to [EMAIL PROTECTED]@SMTP To:

Re: Problem initializing and terminating XMLPlatformUtils more than o nce in a program

2001-05-07 Thread Dee Jay Randall
The API doc says: "void XMLPlatformUtils::Initialize () [static] Perform per-process parser initialization." so I assume it isn't mean to be called repeatedly. It is also written at http://xml.apache.org/xerces-c/program.html "Key points to remember when using the C++ DOM classes: - Create

Re: Problem initializing and terminating XMLPlatformUtils more than o nce in a program

2001-05-07 Thread Scott A. Herod
Hi Ray, To add a bit to Dean's comment. I've faced this as well. The Initialize and Terminate code keeps a static counter of how many times you've entered them. Initialze increments it and Terminate decrements it. So, it's safe to call Initialize multiple times and Terminate until you "undo

Re: Problem initializing and terminating XMLPlatformUtils more than o ncein a program

2001-05-07 Thread peiyongz
Hi, Ray, The FAQ answer your question very clearly. pls refer to http://xml.apache.org/xerces-c/faq-parse.html#faq-22. Regards, Peiyong Zhang XML Parsers Development IBM Toronto Laboratory email: [EMAIL PROTECTED] Phone: (416)448-4088; Fax:

RE: Problem initializing and terminating XMLPlatformUtils more than o nce in a program

2001-05-07 Thread Dean Roddey
Its the latter. You cannot recall Initialize() after Terminate() is called. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From: Mitchell, Raymond [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 3:01 PM To: '[EMAIL PROTECT

getEntities() failure

2001-05-07 Thread Jason E. Stewart
Hey, I've been wrestling with printing out the values of Entities defined in the internal subset of the DOCTYPE. I've discovered that to get the info I need to have setCreateEntityReferenceNodes(TRUE). I would love to know where this is documented anywhere in Xerces. And what do entity reference

Problem initializing and terminating XMLPlatformUtils more than once in a program

2001-05-07 Thread Mitchell, Raymond
I have run into a problem attempting to initialize and terminate XMLPlatformUtils more than once in a single program. The following code causes the error. XMLPlatformUtils::Initialize(); DOMParser *pDOMParser = new DOMParser; delete pDOMParser; XMLPlatformUtils::T

Re: Last parameter of transcodeFrom?

2001-05-07 Thread Dean Roddey
It is an array of unsigned chars, which must be at least as big as the max output chars, into which will be inserted values that indicate how many bytes from the input when into each XMLCh that was created in the output buffer. Since many encodings use variable numbers of byte per character, this

Re: dtdvalidator doesn't find copyright character

2001-05-07 Thread Tinny Ng
Stan wrote: > Hi, > > In Xalan C++ 1.1 (Xerces C++ 1.4), when I attempt to parse a copyright > character > (Latin-1 0xA9), it returns NULL from the DTD Validator in XMLScanner2.cpp: > > XMLEntityDecl* DTDValidator::findEntityDecl(const XMLCh* const entName >

RE: dtdvalidator doesn't find copyright character

2001-05-07 Thread Dean Roddey
What encoding is your document in? It must indicate that it is in 8859-1 if you are going to use characters from that encoding. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From: Stan [mailto:[EMAIL PROTECTED]] Sent: Monday, M

Re: DOM 3

2001-05-07 Thread Joseph_Kesselman
For questions about DOM Level 3, try the W3C's own www-dom mailing list. Brief answer: I'm on the DOM Working Group, and I wouldn't take the risk of estimating a date for the Recommendation. Development is in progress. Prototypes of selected portions of DOM3 are likely to start appearling long be

dtdvalidator doesn't find copyright character

2001-05-07 Thread Stan
Hi, In Xalan C++ 1.1 (Xerces C++ 1.4), when I attempt to parse a copyright character (Latin-1 0xA9), it returns NULL from the DTD Validator in XMLScanner2.cpp: XMLEntityDecl* DTDValidator::findEntityDecl(const XMLCh* const entName , const bool

xerces 1.4, DOM Parser, segmentation fault, std c++ library version???

2001-05-07 Thread Harald Barrera Dubois
Hi all. My version of the std c++ library is "libstdc++-2.96-69" (in Redhat linux: rpm -qa | grep std). The examples distributed with the xerces library runs without problems, but when I compile the source code of any example (for example DOMCount), I receive "segmentation fault" error. I suspect

Last parameter of transcodeFrom?

2001-05-07 Thread Mark A Russell
Further transcoding question about the following function from Iconv400Transcoder: virtual unsigned int transcodeFrom ( const XMLByte* const srcData , const unsigned intsrcCount , XMLCh* consttoFill , const unsigned

DOM 3

2001-05-07 Thread Bolduan, Eric R.
Does anyone have any feeling for the time line for when DOM 3 would be finished and support for this would start showing up in software? I realize it is very early in the process to start asking this but I'm just wondering if anyone has any guesses (months, a year, several years .). W

[Bug 769] Changed - BCB 5 fails to compile Xerces 1.4 library on Windows 2000

2001-05-07 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=769 *** shadow/769 Mon May 7 07:46:48 2001 --- shadow/769.tmp.16778Mon May 7 08:36:49 2001 *** *** 39,41 --- 39,46 --- Additional Comments From [EMAIL PROTECTED] 2001-05-07 07:46 --- Created an attachm

Re: My \r characters disappears

2001-05-07 Thread Joseph_Kesselman
See the XML specification; newlines are normalized to \n during XML parsing. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Bug 769] Changed - BCB 5 fails to compile Xerces 1.4 library on Windows 2000

2001-05-07 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=769 *** shadow/769 Thu Mar 1 06:53:05 2001 --- shadow/769.tmp.16530Mon May 7 07:46:48 2001 *** *** 34,37 , OPEN_EXISTING , FILE_FLAG_SEQUENTIAL_SCAN , 0 ! ); --- 34,

Re: How to create SWING GUI & HTML GUI from a given XML file

2001-05-07 Thread Joseph_Kesselman
1) Invent an XML language language that describes your GUI designs. 2) Design your GUIs in that language. 3) Write a stylesheet that converts your GUI design into HTML.\ 4) Write a stylesheet that converts your GUI into Swing code, or into something that can produce Swing code. Some years ago, I

RE: Mail Archive?

2001-05-07 Thread Jesse Pelton
See http://marc.theaimsgroup.com/?l=xerces-c-dev. Apache Web page maintainers: could we make the archives links (on http://xml.apache.org/mail.html as well as http://xml.apache.org/xerces-c/index.html) point to this site? Covalent has been down for ages, MARC seems reliable, and every third messa