Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: ODF 1.3
    • Fix Version/s: Task
    • Labels:
      None
    • Proposal:
      Hide

      Add the character style either via manual XML editing or ODF application from, for example:

      <text text:style-name="Default_20_Value">The default value for this attribute is "*" (U+002A, ASTERISK).</text>

      to the correct

      <text text:style-name="Default_20_Value">The default value for this attribute is "<text:span text:style-name="Attribute_20_Value_20_Instance">*</text:span>" (U+002A, ASTERISK).</text>

      It would be helpful to have the XSLT default extraction as well in the SVN and some regression test.

      A generated XML file may look like:
      http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/codegen/resources/config.xml?view=co&content-type=text%2Fplain

      • there are more information being added, which are not in the RelaxNG to jump to the default values, you need to search for the word: defaultValue
      Show
      Add the character style either via manual XML editing or ODF application from, for example: <text text:style-name="Default_20_Value">The default value for this attribute is "*" (U+002A, ASTERISK).</text > to the correct <text text:style-name="Default_20_Value">The default value for this attribute is "<text:span text:style-name="Attribute_20_Value_20_Instance">*</text:span>" (U+002A, ASTERISK).</text > It would be helpful to have the XSLT default extraction as well in the SVN and some regression test. A generated XML file may look like: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/codegen/resources/config.xml?view=co&content-type=text%2Fplain there are more information being added, which are not in the RelaxNG to jump to the default values, you need to search for the word: defaultValue

      Description

      In the ODF specification sometimes the character style to annotated default values is missing.
      This annotation is necessary for automatic extraction of default values for tooling for instance via XSLT scripts.

      There are three places the character style is missing:
      1) @form:echo-char for value "*"
      see "The default value for this attribute is "*" (U+002A, ASTERISK)." compare the definition beyond form:enctype.
      2) @smil:fadeColor for value value "#000000"
      3) @style:leader-text for value value " " (Space)

      see https://tools.oasis-open.org/version-control/svn/office/branches/v1.3/v1.3/OpenDocument-v1.3-part3/content.xml

        Attachments

          Activity

            People

            • Assignee:
              patrick Patrick Durusau
              Reporter:
              svante.schubert#1#1 svante.schubert#1#1
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: