To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=111035
                 Issue #|111035
                 Summary|[xmloff,forms] ODF 1.2 export writes invalid xlink:hre
                        |f
               Component|xml
                 Version|DEV300m73
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|fs
             Reported by|mst





------- Additional comments from m...@openoffice.org Wed Apr 21 09:17:51 +0000 
2010 -------
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]

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@xml.openoffice.org
For additional commands, e-mail: issues-h...@xml.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to