Can I butt in here and ask a simple question? I've just started to use
Xerces to validate against Schemas and have run into 2 problems:

1. I get a datatype error when i specify integer as teh datatype. Should i
be doing something special in my Xml (as opposed to just having 5 or 333 or
whatever as the character data)?

2. Xerces doesn't support all of teh datatypes that i am using. Is there
someway to "plug in" support for new datatypes (dates, currencies, etc.)? Do
i just need to write it myself?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2000 10:22 AM
To: [EMAIL PROTECTED]
Subject: Re: [Xerces-J] XMLSchemaValidator and errors....


Thanks for the reply, Andy. That's what I was afraid of <grin>. Since I
need to get this thing working, I'd be happy to make some contributions in
the following schema areas:

1. General bug fixes (the aforementioned exception catching would be one).
2. Error reporting. Since I need to know exactly what caused a particular
error (including the offending element), I can work on cleaning up this
area. I also noticed that a number of the validators aren't using the
standard error reporting mechanism, and some are just throwing exceptions
without any info whatsoever.

I've perused the info on contributing, and downloaded CVS. I still have a
couple of questions, though:

1. Is there any way to access CVS through a firewall (I noticed the default
port is 2401)? All I'm really trying to do is create diffs properly. I
suppose I could create a CVSROOT locally and do it that way, but what do
people normally do in this situation?

2. How often should I be sending diffs? Should I send one every time I make
a minor change (like commenting out the try/catch blocks) or wait until
I've made a lot of modifications?

Kito D. Mann
[EMAIL PROTECTED]




[EMAIL PROTECTED]
Wednesday February 23, 2000 06:51 PM

Please respond to [EMAIL PROTECTED]
To:   [EMAIL PROTECTED]
cc:    (bcc: Kito Mann/PSG/Prudential)
Subject:  Re: [Xerces-J] XMLSchemaValidator and errors....




[EMAIL PROTECTED] wrote:
> exceptions to be thrown from the parser's parse() method. The result,
> however, is that the XMLSchemaValidator catches it in  the loadSchema()
> method, and prints out the stack trace. Is this really the desirable

You are completely correct, this should be changed. Our schema
support at the moment it experimental but in the final implementation
errors in loading the schema should be reported through the error
handler registed on the parser.

--
Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED]








Reply via email to