Tapestry
  1. Tapestry
  2. TAPESTRY-967

SpecificationParser doesn't allow custom entities

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0.1
    • Fix Version/s: 3.0.5, 4.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      all

      Description

      org.apache.tapestry.parse.SpecificationParser implements the method EntityResolver.resolveEntity() in a way that prohibits resolving any entities but the Tapestry specification DTD (it throws if the public-id does not equal either the 3.0 or the 4.0 spec).

      It would be useful to be able to refer to custom entities. That would allow one to include e.g. specs for base-class properties in all derived page-classes without having to repeat them (and without using annotations).

      suggested patch:
      in EntityResolver.resolveEntity() return null instead of throwing.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568553 ] jira [ 12591596 ]
        Mark Thomas made changes -
        Workflow jira [ 12372509 ] Default workflow, editable Closed status [ 12568553 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.2 [ 12312203 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.1 [ 12312021 ]
        Fix Version/s 3.0.5 [ 12310940 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1 [ 12310632 ]
        Fix Version/s 4.1.1 [ 12312021 ]
        Marcus Schulte made changes -
        Attachment tap_xml_entity_patch.txt [ 12334673 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1 [ 12310632 ]
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Assignee Jesse Kuhnert [ jkuhnert ]
        Marcus Schulte created issue -

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Marcus Schulte
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development