Required attributes for text:numbered-paragraph

Gopalakrishna Bhat gopalakbhat at gmail.com
Sat May 19 19:02:09 BST 2012


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



More information about the calligra-devel mailing list