RE: FW: Base64


> [Henry, we could use your help in getting Xerces to adopt the
> erratum with
> respect to normalized values (not schema normalized values):
> What's the status of the XML Schema Errata?
> ]

  I do not understand. In the email cited above it is stated that XML Schema
  does not provide default attributes as normalized values, but only as
  PSVI normalized attribute values. This is a problem different from what
  I have described, isn't it?

> On Tuesday 28 August 2001 09:51, Gregor Karlinger wrote:
> > <Gregor>
> >   But this means that you cannot verify correctly a signature that
> >   (for instance) has produced the base64 of a DigestValue in a way
> >   that is different from the schema-normalized form, doesn't it?
> >   Or do skip schema validation before verifying a XML signature?
> If you are using a Transform such as schema validation, and you aren't
> confident in its conformance, then (unfortunately) you shouldn't
> use it for
> now.

  The problem I have results rather form using schema validation during the
  signature processing rather than using it as a Transform:

  In our implementation, when verifying a signature, we perform as a first
  step a schema validating parsing using Xerces to check the syntax of the

  What we expect as the result of this parsing from Xerces are the
  values. Xerces fulfills these expectations, with one exception: The value
  of base64 types is presented in schema normalized form.

> >   I think this problem is quite a severe one, since many implemen-
> >   tations rely on the Xerces parser. I have reported the Xerces
> >   behaviour on schema-validating base64 text as a bug a while ago
> >   ([1]), but unfortunately I have not convinced them.
> >
> >   [1]
> >
> >   I suggest that we should try a bug report once again, maybe in
> >   the name of the Signature WG. Joseph?
> I'm game but I've never submitted a report to Xerces -- do I need
> to set up
> an account?

  It is quite simple:
    1. Create an account (specify your name and email address) on page
    2. Submit bug at page

> Did you respond to the resolution, it's pretty
> obvious they don't
> understand our issue:
>   >whiteSpace facet value is collapsed for base64Binary.
>   >Thus, xerces does the  right thing.

  No, unfortunately not. I mixed up things at that time and thought they
  are right.

Liebe Gruesse/Regards,
DI Gregor Karlinger
Phone +43 316 873 5541
Institute for Applied Information Processing and Communications

Received on Wednesday, 29 August 2001 01:47:43 UTC