RE: [office] RE: XAdES support in ODF

From
Dennis E. Hamilton <>
Date
2010-09-25T16:35:24+00:00
ID
000101cb5ccf$9f693910$de3bab30$@
Thread
RE: [office] RE: XAdES support in ODF
Good point.  No, a 0-length file is not a valid XML document.  It is not
even well-formed.  The syntax rule for document requires that there be a
root element.  (See [XML1.0] section 2.1 and the rule for element in section
3.)

So it seems appropriate that canonicalization will fail and treating the
file as a 0-length raw binary is an useful fall-back in a signature
application, since we don't want the signing to fail over such a thing.

On the other hand, this looks like something an ODF validator should catch.

 - Dennis

-----Original Message-----
From: Hanssens Bart [mailto:] 
Sent: Saturday, September 25, 2010 02:11
To: 
Cc: Cornelis Frank
Subject: RE: [office] RE: XAdES support in ODF

Hi,

> You're right, the Configurations2\accelerator\current.xml should have been
> signed, and it was.  Oddly, they used the default transformation, but I
> guess that is tolerable considering it is a 0-length file.

The ...current.xml is indeed signed, using the default transformation
because
another transformation will throw an exception (Java 6)

(Is a 0-length xml file valid XML by the way ?)


Bart


---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php