incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devin Han (Commented) (JIRA)" <>
Subject [jira] [Commented] (ODFTOOLKIT-294) Adding the XSL stylesheet for extracting default values to XSLT_RUNNER XSL sample folder
Date Tue, 08 Nov 2011 08:20:51 GMT


Devin Han commented on ODFTOOLKIT-294:

Hi Svante,

Just a friendly reminder.
Follow Apache policy, as you are the committer, you can push the patch directly. Other guys
can review you patch after push.

> Adding the XSL stylesheet for extracting default values to XSLT_RUNNER XSL sample folder

> -----------------------------------------------------------------------------------------
>                 Key: ODFTOOLKIT-294
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Improvement
>          Components: xslt-runner
>            Reporter: Svante Schubert
>            Assignee: Devin Han
>            Priority: Trivial
>              Labels: patch
>         Attachments: defaultValueExtraction.patch
> I have created a patch to add the XSL stylesheet to extract default values from the ODF
1.2 specification part 1.
> The XSL file was former a part of the downloadable tools ZIP for the ODF TOOLKIT project,
> The tools there consist asise of the XSLT file of a starting batch scripts for bash and
DOS and was created by myself.
> The result of the transformation is being used for source code generation in ODFDOM and
is the latter part of the following configuration file:
> Recently I have updated the XSLT to be more tolerant with ODF to keep on extracting the
default values of attributes.
> The update contains my changes and solves the following problems:
> 1) There are two span splitting the element name, e.g. "style:background-image"
> <text:span text:style-name="Element">&lt;style:background-</text:span>
> <text:span text:style-name="Element">image&gt;</text:span>
> or
> 2) A flood of references
> <text:h text:style-name="Heading_20_3" text:outline-level="3">
> <text:bookmark text:name="__RefHeading__1418582_253892949"/>
> <text:reference-mark-start text:name="DDE_LINK17"/>
> <text:reference-mark-start text:name="line-2411"/>
> <text:reference-mark-start text:name="line-2511"/>
> <text:reference-mark-start text:name="line-261"/>
> <text:reference-mark-start text:name="line-271"/>
> <text:reference-mark-start text:name="attribute-table:protected_element-table:covered-table-cell"/>&lt;table:covered-table-cell&gt;
<text:bookmark-end text:name="__RefHeading__1418582_253892949"/>
> <text:reference-mark-end text:name="attribute-table:protected_element-table:covered-table-cell"/>
> <text:reference-mark-end text:name="line-271"/>
> <text:reference-mark-end text:name="line-261"/>
> <text:reference-mark-end text:name="line-2511"/>
> <text:reference-mark-end text:name="line-2411"/>
> <text:reference-mark-end text:name="DDE_LINK17"/>
> </text:h>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message