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] Two JIRA Issues for discussion

My sense of this is that we have done something very strange.

In Part 3, there is a standalone RNG schema for an XML document that has an ODF Dsigs list as its root element.  The only element in the content of this root element is one more W3Cdsig:dsig elements (that is, W3C XML DSigs).

Because the trivial root element is specified in RNG, we have the problem that we have chosen to have no schema for the W3Cdsig:dsig XML element, and we allow any content on that element instead.  (And it is done in an ugly way, but I won't go into that.  I will point out that IS 29500 offers both Relax NG and XML Schema schemas and they seem to have found some sort of transliteration that preserves the schematic essence in both directions.)

Clearly, a way to have a precise specification would be to have this trivial standalone XML document schema be done in XML Schema in the first place.  Then it can incorporate W3Cdsig:dsig by reference to the XML Schema for it.  

Alternatively, get rid of the multi-signature wrapper (not sure what value it is since any number of separate signature files are permitted and a component of the multi-signature wrapper will have a hard time self-signing without screwing something up), and simply allow dsig:dsig (W3C dsig binding) root elements on the ODF 1.2 Part 3 digital signature documents.

Short-term problem solved either way.  Choose your poison.  

There is a lot more needed to have ODF 1.2 DSig be well-specified.  With the schema resolved, we might turn our attention to that more substantial matter of how XML Dsig is profiled for ODF 1.2.  (The original proposal accepted by the ODF TC over a year ago is somehow not reflected in ODF 1.2 Part 3 and ODF 1.2 Part 1 anywhere.  There was a lot more profiling of XML DSig that someone thought was important, and that the TC accepted, and now it is nowhere to be seen.)

 - Dennis


The fact that someone wants to do fancy tooling so they can verify document packages in some automatic way should not be a detriment to producing a quality specification.  We don't prescribe implementations and we don't tell consumers how schemas are to be used to assess the validity of the packages they attempt to accept.

A more interesting challenge is how smart tooling will deal with URIs in the dsig:dsig element that need to refer to the other Package files in the same package, and have that make sense without custom tooling.  I don't see how that is possible, so custom work is required no matter what.  Also, the production of the digital signature files is clearly a custom job and at the moment, can't be schema driven at all without someone cooking up one of their own that works with whatever schema-following DOM they want to use.


-----Original Message-----
From: Dave Pawson [mailto:dave.pawson@gmail.com] 
Sent: Friday, February 19, 2010 08:37
To: Patrick Durusau
Cc: Michael Brauer - Sun Germany - ham02 - Hamburg; office@lists.oasis-open.org
Subject: Re: [office] Two JIRA Issues for discussion

On 19 February 2010 16:19, Patrick Durusau <patrick@durusau.net> wrote:
> Michael,
> Switching the schema is a big step but I assume that there are tools to
> measure formal equivalence of schemas?
> I haven't looked, therefore the question.
> If there were some assurance other than "eye balling" the two schemas, I
> would feel more confident about a last minute change.

Trang, from James Clark, helps, but has no guarantees.
rng is currently a superset of XSD, so rng to XSD is not always

Yes, you'd have to check a lot of the schema before you trusted
your conversion.


Dave Pawson
Docbook FAQ.

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]