[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
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:Bart.Hanssens@fedict.be] Sent: Saturday, September 25, 2010 02:11 To: office@lists.oasis-open.org 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]