← Prev in month ← Prev in thread

Specification (Was: Style properties questions/requests)

From
Daniel Vogelheim <>
Date
2003-09-08T14:10:27+00:00
ID
Thread
Specification (Was: Style properties questions/requests)
Hi all,

David Faure wrote:

>Is there a version of the specification somewhere that is being updated
>with the changes decided here? Or will that only be done in the end,
>from the various meeting minutes?
>
Hah, thanks for bringing that up. The OpenOffice.org specification has 
not been updated for a while. It may yet happen, but I much prefer to 
put my time into the OASIS spec, as that is to supersede our own. The 
OpenOffice.org DTDs are usually up-to-date, as they are used for testing.

The idea was indeed to continously edit the TC's specification. That 
worked sort of OK until about, ehmm, May. I have admittedly been falling 
behind since then; I really want (and need) to spend some more time on 
it to catch up.

So, what's the current state? You'll find the current specification 
proposal at:
http://xml.openoffice.org/oasis/p-open-office-specification.xml

In the directory, you'll find two tools that may be of interest: One is 
the XSLT script 'extract.xsl', which you can use to extract all 
paragraphs that have been formatted using a certain style. I use this to 
extract the current Relax-NG specification for the format from the 
document (style 'RelaxNG'), and to obtain a list of  to-do items (style 
'TODO'). E.g. using xsltproc (from the libxml2 distribution), you can use
  xsltproc --stringparam style RelaxNG extract.xsl 
p-open-office-specification.xml
to get RelaxNG from the document.

The other files of interest is the ooo2oasis.xsl (and oasis2ooo.xsl), 
which is an XSLT script to generate an OASIS Open Office document from 
an OpenOffice.org one. Like the spec, it has only tracked changes to the 
text chapter, so it's far from complete. But I use it to generate our 
spec in our own format (rather than the OOo base format), and it's at 
least good enough to validate against the Relax-NG.


I have attached two documents: The Relax-NG (generated from the spec 
using extract.xsl), and a PDF version of the spec (generated by loading 
the spec into OOo and generating PDF from there). Obviously, the spec is 
rather incomplete, but I think it allows you to determine the direction 
is going to. TODO-items are marked with a red background, so they're 
hard to miss. :-)

I'd be happy if you all could have a look at it, and give feedback.

Sincerely,
Daniel
← Prev in month ← Prev in thread