Apache OpenOffice (AOO) Bugzilla – Issue 111035
[xmloff,forms] ODF 1.2 export writes invalid xlink:href
Last modified: 2017-05-20 09:30:35 UTC
exporting a form:form element to ODF 1.2 yields an invalid file: /tmp/p_.odp/content.xml[85,193]:Error:element "form:form" is missing "type" attribute <form:form form:name="Standard" form:apply-filter="true" form:command-type="table" form:control-implementation="ooo:com.sun.star.form.component.Form" office:target-frame="" xlink:href=""> ODF 1.2 cd04 schema: <define name="form-form-attlist" combine="interleave"> <optional> <attribute name="xlink:type"> <value>simple</value> </attribute> <attribute name="xlink:href"> <ref name="anyURI"/> </attribute> <optional> <attribute name="xlink:actuate"> <value>onRequest</value> </attribute> </optional> </optional> </define> this seems to have changed from ODF 1.1, where the xlink:type was optional: <define name="form-form-attlist" combine="interleave"> <optional> <attribute name="xlink:href"> <ref name="anyURI"/> </attribute> <optional> <attribute name="xlink:type" a:defaultValue="simple"> <value>simple</value> </attribute> </optional> <optional> <attribute name="xlink:actuate" a:defaultValue="onRequest"> <value>onRequest</value> </attribute> </optional> </optional> </define> [if you prefer you can attach a patch and i'll commit it on sw33bf03]
oops, i guess this is P2, right?
Created attachment 69027 [details] patch
thanks for this offering, patch attached.
fixed in cws sw33bf03 http://hg.services.openoffice.org/hg/cws/sw33bf03/rev/ee077e4f664c
@FS: please verify.
so I am verifying my own patch now? Hmm ....
*** Issue 114359 has been marked as a duplicate of this issue. ***