Forrest
  1. Forrest
  2. FOR-244

UTF escapes (entities) in site.xml label attributes makes forrest build fail

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6
    • Fix Version/s: None
    • Labels:
      None

      Description

      <consultant_bb label="Bj&ouml;rn" href="consultants/bb.html"/> in site.xml makes the forrest fail with: BROKEN: The entity "ouml" was referenced, but not declared.

        Activity

        johan Eltes created issue -
        Hide
        David Crossley added a comment -
        However you can use the numeric Unicode values directly
        ... ouml ... #246 ... &#246;
        http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_xhtml_character_entities

        We deliberately did not define a DTD for the site.xml so leaving it to be able to use any element names. Hence we did not include the usual collections of named character entities.

        You can explicitly declare these in an internal DTD subset for your local version of site.xml ...

        <!DOCTYPE site [
         <!ENTITY % ISOlat1 PUBLIC
           "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
           "ISOlat1.pen">
         %ISOlat1;
        ]>
        <site ...
        Show
        David Crossley added a comment - However you can use the numeric Unicode values directly ... ouml ... #246 ... &#246; http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_xhtml_character_entities We deliberately did not define a DTD for the site.xml so leaving it to be able to use any element names. Hence we did not include the usual collections of named character entities. You can explicitly declare these in an internal DTD subset for your local version of site.xml ... <!DOCTYPE site [  <!ENTITY % ISOlat1 PUBLIC    "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"    "ISOlat1.pen">  %ISOlat1; ]> <site ...
        David Crossley made changes -
        Field Original Value New Value
        Environment
        Affects Version/s HEAD [ 10003 ]
        Affects Version/s 0.5.1 [ 10032 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            johan Eltes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development