Several more detailed answers when my wife isn't waiting on me -
Why would you even write a 0-length file into the archive? Seems an odd thing to do.
I'll get back to the rest of it later.
________________________________________
From: Dennis E. Hamilton []
Sent: Saturday, September 25, 2010 10:53 AM
To: 'Hanssens Bart';
Cc: 'Cornelis Frank'
Subject: RE: [office] RE: XAdES support in ODF
Oh ... just noticed:
It seems we have no right to assume that the 0-length
Configurations2/accelerator/current.xml is an XML file. Note that it has no
recognizable media-type (and that is another validator-catchable problem,
though):
<manifest:file-entry
manifest:media-type=""
manifest:full-path="Configurations2/accelerator/current.xml"/>
- Dennis
-----Original Message-----
From: Dennis E. Hamilton [mailto:]
Sent: Saturday, September 25, 2010 09:35
To: 'Hanssens Bart';
Cc: 'Cornelis Frank'
Subject: 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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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