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: ODF 1.0 and 1.0ed2-cs1 Schema Discrepancies


In nosing around to figure out what there is to know about the style:wrap-dynamic-treshold correction, I noticed something that I have seen before but not checked into.  I'm assuming this is old news, but I am curious what the resolution is.

ANALYSIS

In the document text, there is a minor difference in the comment text at the beginning of each file.  The identification of the document the schema goes with is changed and there are different dates.  That's minor.  It does not change the line numbering between the two schemas.

However, as we go farther into the document, the line numbers and the layout of schema lines change.

The first change is on ODF 1.0 page 194, line 20.  There, schema line 3838 wraps onto line 3839.  But in 1.0ed2 (and IS 26300), schema line 3838 does not wrap and line 3839 is the same as line 3840 for ODF 1.0.  

By the time we get to the end of the embedded schema in the documents, section 16.3, the </grammar> ending tag is on schema line 17672 in the ODF 1.0 specification (page 683 line 7) and schema line 17665 in the ODF 1.0ed2-cs1 document (page 696 line 14).  I have not sought out the discrepancies to verify that they are all of the same nature.

QUESTION

I cannot imagine attempting to correct either document over this.  I am assuming that if the only public ODF 1.0 schema that we have were opened in a text editor without line wrapping, the line numbers would not match either specification exactly.  (I tried it and I find that the rng file's </grammar> tag is on line 17666, surprisingly close to ODF 1.0ed2-cs1 numbering.)

It would appear useful to account for the discrepancies between the two different printings of embedded schema.  Not by changing them, but just pointing out where the line-numberings change and what it is attributed to?

EXAMPLE

I tried out the OpenDocument-v1.0-os.rng file in two editors to see how line-wrapping is handled with regard to editor-displayed line numbers.  I used jEdit (which recognizes .rng) and Visual C++ 2005 Express (after adding .xml to the end of the file name so it would be recognized as XML).  How wrapping occurs depends on how I set the right margin.  My jEdit wrap-point is at column 77 and I adjusted the right-margin in VC++ enough to force wrapping of line 3838 but I didn't check the column number of the right margin.

If I set the right margin properly in either editor, I should be able to account for all of the discrepancies between the actual file, the ODF 1.0 specification, and the ODF 1.0ed2-cs1 (and IS 26300) specification. 

I'm willing to do this review if it would help us show how ODF 1.0 is reconciled with IS 26300 and I am not repeating work that has already been done.

 - Dennis

Dennis E. Hamilton
------------------
NuovoDoc: Design for Document System Interoperability 
mailto:Dennis.Hamilton@acm.org | gsm:+1-206.779.9430 
http://NuovoDoc.com http://ODMA.info/dev/ http://nfoWorks.org 

ODF1.0-schemaSnaps.zip



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