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

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-comment message

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


Subject: Re: [office-comment] Curious issue inOpenDocument-schema-v1.2-draft7.rng


Hi Søren,

The schema indeed seems to be wrong here. Thanks for alerting us.

Best regards

Michael

On 05.01.09 22:48, Soren Roug wrote:
> I found a curious construction in the 
> OpenDocument-schema-v1.2-draft7.rng schema. The attribute 
> table:paragraph-style-name is supposedly optional, but the way I parse 
> the Relax syntax, it says it is mandatory, and the content of the 
> attribute is optional. Shouldn't the <optional> wrap the <attribute>?
> 
> Currently:
> 
> <define name="common-table-template-attlist" combine="interleave">
> 
>     <attribute name="table:style-name">
> 
>         <ref name="styleNameRef"/>
> 
>     </attribute>
> 
>     <attribute name="table:paragraph-style-name">
> 
>         <optional>
> 
>             <ref name="styleNameRef"/>
> 
>         </optional>
> 
>     </attribute>
> 
> </define>
> 
> Should be?:
> 
> <define name="common-table-template-attlist" combine="interleave">
> 
>     <attribute name="table:style-name">
> 
>         <ref name="styleNameRef"/>
> 
>     </attribute>
> 
> *    <optional>
> 
>         <attribute name="table:paragraph-style-name">*
> 
>             <ref name="styleNameRef"/>
> 
> *        </attribute>*
> 
> *    </optional>
> *
> </define>
> 
> The issue is also in the v1.1 schema.
> 
> Best regards,
> Søren Roug


-- 
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500
http://blogs.sun.com/GullFOSS

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
	   D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


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