Re: Using Built-in DataType date

2001-12-05 Thread Joachim Achtzehnter
[EMAIL PROTECTED] wrote: > > I'm trying to use the XML Schema built-in datatype "date". I get the > following message when I try to validate my document: > > Message: Type not found in http://www.w3.org/2001/XMLSchema:date You don't mention which version of xerces-c you are using. This datatype w

Using Built-in DataType date

2001-12-05 Thread SShetty
I'm trying to use the XML Schema built-in datatype "date". I get the following message when I try to validate my document: Message: Type not found in http://www.w3.org/2001/XMLSchema:date The following is snippet of my schema:         ...    Please let me know what the

Re: Testing Full Schema support in 1.6.0 candidate

2001-12-05 Thread Joachim Achtzehnter
Khaled Noaman wrote: > > There is a small fix that you need to apply to XUtil.cpp. > In XUtil::getNextSiblingElementNS and XUtil::getFirstChildElementNS replace > 'getNodeName()' with 'getLocalName()'. > > Would you please apply that fix, and test the parser again? If the parser is > still ignorin

Re: Testing Full Schema support in 1.6.0 candidate

2001-12-05 Thread Khaled Noaman
Hi Joachim, There is a small fix that you need to apply to XUtil.cpp. In XUtil::getNextSiblingElementNS and XUtil::getFirstChildElementNS replace 'getNodeName()' with 'getLocalName()'. Would you please apply that fix, and test the parser again? If the parser is still ignoring the identity constr

Testing Full Schema support in 1.6.0 candidate

2001-12-05 Thread Joachim Achtzehnter
Hi, Was trying to test the full schema support in the 1.6.0 candidate using saxprint.exe. I'm specifically interested in key/keyref support, but the parser (run with -n -s -f) seems to ignore all my key and keyref declarations. Other schema validation appears to work. Does anybody have an exampl

DO NOT REPLY [Bug 1236] - incorrect NMTOKENS attribute normalization

2001-12-05 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: Incremental /progressive parsing

2001-12-05 Thread david_n_bertoni
If you look at the implementations of any of the BinInputStream derivatives, you'll see that they simply return 0 from readBytes() to signal the end-of-stream condition. By the way, you should be prepared for readBytes() to be called once more after having returned 0 the first time. At least th

Re: Incremental /progressive parsing

2001-12-05 Thread Peter A. Volchek
> Hello, > I need to give the input data one buffer at a time to Xerces. > I don't know in advance the length of the input data. > I cannot give it all at once to Xerces either. > > I was thinking of deriving a "MyInputStream" from a BinInputStream and > getting the data inside readBytes, but what

Re: Small patch to 1.5.2

2001-12-05 Thread Edward Avis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 5 Dec 2001, Tinny Ng wrote: >BTW your patch also apply to src/runConfigure and tests/runConfigure, >besides samples/runConfigure, right? Yes, they could also do with a default case. Thanks for fixing this. - -- Ed Avis <[EMAIL PROTECTED]>

RE: Incremental /progressive parsing

2001-12-05 Thread Coursimault, Jean-marc
Hello, I need to give the input data one buffer at a time to Xerces. I don't know in advance the length of the input data. I cannot give it all at once to Xerces either. I was thinking of deriving a "MyInputStream" from a BinInputStream and getting the data inside readBytes, but what is the "ri

Borland C++ 5 validation exceptions

2001-12-05 Thread Neil Sherman
Hi all! I'm using the Borland C++ 5 Builder to compile the Xerces library and demo files. The problem is that when I run the DOMCount (or any of the demos for that matter) demo and tell it to validate the input file I get an "Unxepected exception during parsing" and the program crashes. i.e.

Re: Small patch to 1.5.2

2001-12-05 Thread Tinny Ng
Edward, I think it doesn't hurt to apply your patch. So I am going to commit it then. BTW your patch also apply to src/runConfigure and tests/runConfigure, besides samples/runConfigure, right? Thanks! Tinny Edward Avis wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I sent in a

Re: Small patch to 1.5.2

2001-12-05 Thread Edward Avis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I sent in a small patch to fix argument parsing in samples/runConfigure, which could get stuck in an infinite loop. Tinny Ng suggested that runConfigure uses getopt(1) which should catch invalid arguments by itself. For whatever reason, getopt didn't

Linking xerces with cxx on Digital Unix

2001-12-05 Thread marialuisa capolongo
Dear All, hereunder the description of the problem which is occurring: We developped a process , Voice XML Interpreter written in c++ , which uses the xerces library v.1.4.0. This process code needs to link a platform library written in C providing file with ".a" extention. If we link the xerces

DO NOT REPLY [Bug 2752] - Surrogate support incomplete

2001-12-05 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[2]: Use of Transcode...

2001-12-05 Thread jalal
Thanks for the feedback Samar. Guess I'll take it case by case. jalal On Tue, 4 Dec 2001 10:10:14 -0800 Samar Lotia <[EMAIL PROTECTED]> wrote: > IMHO, in the best scenario, you should pass in the buffer yourself. This > way > you can optimzie whether the buffer is allocated on the stack or th

problem with parsing...

2001-12-05 Thread Gopi Krishna
HI,   I have a DOMParser object which I use to parse the MemBufInputSource of xml. I have 2 xml messages in the form of MemBufInputSource objects. A same parser object is used to parse these 2 messages. An error occured in parsing the first message. I catch the exception, print the messages

Borland C++ Builder 5 Example problems!!

2001-12-05 Thread Neil Sherman
Hi all! Im using Borland C++ Builder version 5 and can sucessfully recompile all of the Xerces code. However when I then try to run the DOMCount demo I get the following error: S:\Work\Dev\txc\Build\Win32\BCB5>domcount -v=always -n -s -f TMT21.xml Error at file S:\Work\Dev\txc\Build\Win32\BC

AW: tests for FreeBSD

2001-12-05 Thread Michael Hüdepohl
I'm afraid I (as the contributor of the FreeBSD target in src and samples) cannot do it before the next weekend because I'm travelling and very busy this week. But maybe Max (who was co-writer of the patches for FreeBSD) is able to do it right now? Otherwise it will probably be too late for