[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Groups - Draft 29 with change tracking information(office-spec-1.0-draft29-ct.sxw) modified
Dave, actually, the current draft is not an OpenDocument file but an OpenOffice.org XML file, that therefore does not validate against the OpenDocument schema. The simple reason for this is that the OpenDocument v1.0 specification is in the OpenOffice.org XML format as well, and it seems not to be reasonable to change the format of the specification document when making editorial corrections only. Michael Dave Pawson wrote On 05/27/06 19:42,: > Having done all that, > I thought it reasonable to check out the content.xml > against the derived schema. > It failed, using Jing. > > The changes made included > > <define name="anyAttListOrElements"> > <zeroOrMore> > <attribute> > <anyName> > <except> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" > >> targetElement</name> > > <name > ns="urn:oasis:names:tc:opendocument:xmlns:form:1.0" >id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:text:1.0">id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" >id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" >id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0">shape-id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" > >> master-element</name> > > <name > ns="urn:oasis:names:tc:opendocument:xmlns:text:1.0" >change-id</name> > <name ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" > >> start-shape</name> > > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0">end-shape</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0">control</name> > </except> > </anyName> > <text/> > </attribute> > </zeroOrMore> > <ref name="anyElements"/> > </define> > <define name="anyElements"> > <zeroOrMore> > <element> > <anyName/> > <mixed> > <ref name="anyAttListOrElements"/> > </mixed> > </element> > </zeroOrMore> > </define> > > and > > <define name="mathMarkup"> > <oneOrMore> > <element> > <anyName/> > <attribute> > <anyName> > <except> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" > >> targetElement</name> > > <name > ns="urn:oasis:names:tc:opendocument:xmlns:form:1.0" >id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:text:1.0">id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" >id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" > >> id</name> > > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0">shape-id</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" > >> master-element</name> > > <name ns="urn:oasis:names:tc:opendocument:xmlns:text:1.0" > >> change-id</name> > > <name ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" > >> start-shape</name> > > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0">end-shape</name> > <name > ns="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0">control</name> > </except> > </anyName> > <text/> > </attribute> > <text/> > <ref name="mathMarkup"/> > </element> > </oneOrMore> > </define> > > The 'any element' must exclude those attributes. > > > Unsure who is looking after the schema, but those amendments > to the actual spec would help with validation. > > HTH DaveP -- Michael Brauer Phone: +49 40 23646 500 Technical Architect Software Engineering Fax: +49 40 23646 550 StarOffice Development Sun Microsystems GmbH Sachsenfeld 4 D-20097 Hamburg, Germany e-mail: michael.brauer@sun.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]