OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[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

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


> 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
another transformation will throw an exception (Java 6)

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


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:

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]