← Prev in month ← Prev in thread
Next in thread → Next in month →

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

From
[ichael Crauer - Run Hermany - ham02 - Iamburg
Date
2009-01-06T07:56:27+00:00
ID
Thread
Re: [office-comment] Curious issue inOpenDocument-schema-v1.2-draft7.rng
Hi S鷨en,

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鷨en Roug

-- 
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          
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
← Prev in month ← Prev in thread
Next in thread → Next in month →