[
https://issues.apache.org/jira/browse/ODFTOOLKIT-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462381#comment-13462381
]
DaLi Liu commented on ODFTOOLKIT-170:
-------------------------------------
Verified status of this issue
2.not sure - I am not sure about this issue, maybe still need to be opened
> Code generation should allow empty ODF attribute, when specified in ODF 1.2
> RelaxNG
> -----------------------------------------------------------------------------------
>
> Key: ODFTOOLKIT-170
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-170
> Project: ODF Toolkit
> Issue Type: Bug
> Components: codegen
> Affects Versions: 0.8.6
> Environment: Operating System: All
> Platform: All
> Reporter: Svante Schubert
> Assignee: devin
> Fix For: 0.9
>
> Attachments:
> ASF.LICENSE.NOT.GRANTED--245-schema2template-regressiontests.patch
>
>
> Some attributes are explicitly allowed to be empty strings.
> For instance currently exceptions are being thrown for, e.g.
> <style:style style:list-level="" style:default-outline-level="" >
> See latest ODF 1.2 scheam
> http://lists.oasis-open.org/archives/office/201011/msg00100.html
> Id est:
> <define name="style-style-attlist" combine="interleave">
> <optional>
> <attribute name="style:list-level">
> <choice>
> <ref name="positiveInteger"/>
> <empty/>
> </choice>
> </attribute>
> </optional>
> </define>
> <define name="style-style-attlist" combine="interleave">
> <optional>
> <attribute name="style:default-outline-level">
> <choice>
> <ref name="positiveInteger"/>
> <empty/>
> </choice>
> </attribute>
> </optional>
> </define>
> Regards,
> Svante
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira