Re: Schema validation error reporting

2003-09-11 Thread Jeffrey Rodriguez
to MS parser behavior but it would be worth it trying it. Regards, Jeffrey Rodriguez Silicon Valley From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Schema validation error reporting Date: Thu, 11 Sep 2003 10:24:13 -0500 Ok, this topi

Re: Schema validation error reporting

2003-09-11 Thread Jeffrey Rodriguez
ould you report to your users is completely up to you. The problem will always be that the specs only say what it recommended and required. Processor implementations then will always differ in the level of error that they provide. Just my 2 cents. Jeffrey Rodriguez Silicon Valley From: [

RE: exceptions in xerces

2003-09-09 Thread Jeffrey Rodriguez
rser. We would think that the Xerces-c developers would have caught most of them and throw controlled Xerces defined exceptions but you should not count on it. Regards, Jeffrey Rodriguez From: "Patrick Blanchette" <[EMAIL PROTECTED]> Reply-To: <[EMAIL

Re: Exception for UTF-2 encoding

2003-09-09 Thread Jeffrey Rodriguez
Hi Agrawal, I think you are out of luck. XML Parsers are only obligated to recognize UTF16 and UTF8, furthermore UTF2 is not part of the IANA-CHARSET. From XML spec: "In an encoding declaration, the values "UTF-8", "UTF-16", "ISO-10646-UCS-2", and "ISO-10646-UCS-4" should be used for the various

Re: exceptions in xerces

2003-09-09 Thread Jeffrey Rodriguez
You could do a grep in try or catch.. :> From: "Gröndal Daniel" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: exceptions in xerces Date: 9 Sep 2003 10:28:00 +0200 Hi! Is it only me that thinks that the c++ api docs on the website (apache.org) is unsufficien

Re: concatenation of string with XMLCh*

2003-09-08 Thread Jeffrey Rodriguez
you expect? Regards, Jeffrey Rodriguez Would be glad if someone could send me pointers to the solution. Thanks, Ashay. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: how to use external schema?

2003-09-05 Thread Jeffrey Rodriguez
iation with the instance documents even in the cases when those are not hinted as per the spec XSI usage. Regards, Jeffrey Rodriguez Cheers, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: [

RE: how to use external schema?

2003-09-05 Thread Jeffrey Rodriguez
en it would seem like this is a bug, since I have in the pass relied on the EntityResolver in the case of Schemas. Most likely is some setting of your parser which is not turn on. Cheers, Jeffrey Rodriguez Silicon Valley From: "Agrawal, Vikas (ELS

Re: how to use external schema?

2003-09-05 Thread Jeffrey Rodriguez
, Jeffrey Rodriguez SVL From: "Neil Graham" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: how to use external schema? Date: Fri, 5 Sep 2003 11:59:29 -0400 Hi Jeff, For clarity, if the application s

Re: how to use external schema?

2003-09-05 Thread Jeffrey Rodriguez
also the setExternalSchemaLocation instead of the xsi instructions to also call the entityResolver. Otherwise I think that this is an inconsistency. So first let us know an answer to my first question. Regards, Jeffrey Rodriguez Silicon Valley From

Re: Base64 decoder extremely (overly?) strict

2003-09-03 Thread Jeffrey Rodriguez
the job of the Base64 validator, to validate and enforce the production for 0 or 1. Just curious why your data which is encoded have multiple line feeds How did you encode the data? Did you use Xerces C++? Cheers, Jeffrey Rodriguez Silicon Valley From:

Re: Base64 decoder extremely (overly?) strict

2003-09-03 Thread Jeffrey Rodriguez
ementation which was written as a generic Base64 utiliity class ( I wrote that class :-) ). My 2 cents, Jeffrey Rodriguez Silicon Valley From: "PeiYong Zhang" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Sub

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

Re: DOM faster than SAX ?

2002-12-02 Thread Jeffrey Rodriguez
Would like to hear any comments from the XML parser developers. Thanks, Jeffrey Rodriguez From: "Nikko" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "mailing list xercesc" <[EMAIL PROTECTED]> Subject: DOM faster than SAX ? Date: Mon, 2 Dec 20

SAX2 XMLFilter interface some questions

2002-11-27 Thread Jeffrey Rodriguez
I could volunteer to reviewed and check it in if I still have committer access ). Thanks, Jeffrey Rodriguez _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=fe

Re: Doubts about schemas

2002-11-27 Thread Jeffrey Rodriguez
Hi Esther, Xerces C++ support Schema validation as defined by W3C. There are some limitations ( for this refer to release notes since this is always changing). For samples look at the Xerces samples ( download Xerces and look into the samples directory). Most samples have switches that turn on Sche

Re: Problem with startElement and other SAX2 events

2002-11-05 Thread Jeffrey Rodriguez
setDocumentLocator( const Locator * const locator ); void startDocument(); void startElement( const XMLCh *uri, const XMLCh *const localName, const XMLCh *const qname, const Attributes &attrs ); void startCDATA();

Re: Need some information

2002-11-02 Thread Jeffrey Rodriguez
The function mbstowcs in the C library that comes with CodeWarrior, does not have the same behavior as in other C libraries. When you pass NULL as the destination pointer, it will return zero instead of the number of characters needed to represent the multibyte string in wide character. A bette

Re: Problem with startElement and other SAX2 events

2002-11-02 Thread Jeffrey Rodriguez
Hi Marc. Did you register your handler? e.g. SAX2XMLReader *parser = XMLReaderFactory::createXMLReader(); procsax *handler = new AwdSaxHandler(); parser->setContentHandler( handler ); From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

Fwd: Re: Pull parsing mode-- Is it implemented

2001-10-01 Thread Jeffrey Rodriguez
Does Xerces-C implement pull parsing event mode? Thanks, Jeffrey Rodriguez >> >>Jeffrey Rodriguez wrote: >> > I remember last year talks about providing a way to use the parser >> > in a a Pull parsing event mode ( versus the pushing mode