Hi,

When trying to validate the document attached to
https://bugs.kde.org/show_bug.cgi?id=299639 , the schema validator
throws the following error

error: element "text:numbered-paragraph" missing required attributes
"text:continue-numbering" and "text:start-value"

The ODF spec says that text:continue-numbering attribute has been
depricated for text:numbered-paragraph. Shouldn't this attribute be
optional in the schema?

Also for text:start-value, I think this too should be optional, since
I might not want to give start value for each numbered paragraph.

BTW the related section in the schema says

                      <optional>
                                <attribute name="text:style-name">
                                        <ref name="styleNameRef"/>
                                </attribute>
                                <attribute name="text:continue-numbering">
                                        <ref name="boolean"/>
                                </attribute>
                                <attribute name="text:start-value">
                                        <ref name="nonNegativeInteger"/>
                                </attribute>
                        </optional>

OR Is this the problem with our validator then?

With regards,
Gopalakrishna


-- 
My blog http://gkbhat.blogspot.com
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to