You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Paul Warren <pd...@decisionsoft.com> on 2001/04/24 18:17:07 UTC

[PATCH] Binary/Base64 validation bug fixes

Attached is a patch to fix three problems with binary/base64 type
validation:

1. The FACET_ENCODING bit was being set incorrectly, so no encoding
validation (base64 or hex) was taking place.
2. Base64.java treats a zero-length string as an invalid base64 string.
My understanding of the RFC is that this is incorrect.
3. The error messages did not make sense.

I have been working with, and on, Xerces-J for several months, but I
have only just joined the lists. We have accumulated a handful of bug
fixes and improvements, mainly to the schema validation code.  Our
software is required to work with Working Draft schemas rather than CR,
so we are constrained to using pre-1.3.0 Xerces-J which is why we have
not submitted our patches previously.  I hope to now find the time to
sort out which of our fixes are still relevant and submit them.

Should diffs be sent to this list, or are they better placed in
Bugzilla?

cheers,

Paul
-- 
DecisionSoft Limited           Office:  +44-1865-203192
www.decisionsoft.com           Fax:     +44-1865-203194