Uploaded image for project: 'Glossary'
  1. Glossary
  2. GLOSSARY-17

The DefinitionEnhancementHandler processes text inside i18n:date tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.0
    • None
    • None

      I have a definition for the "42" word in the glossary.
      My content generates this block:

      <i18n:date src-pattern="yyyy-MM-dd'T'hh:mm:ss" pattern="long">2011-01-26T10:01:42.124+01:00</i18n:date>
      

      The DefinitionEnhancementHandler processes this text, wraps the "42" text in a <dfn> tag, which makes my page unviewable with this error:

      java.util.EmptyStackException
          at org.apache.xml.utils.IntStack.peek(IntStack.java:127)
          at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.endElement(SAX2DTM.java:2034)
          at org.apache.xalan.transformer.TransformerHandlerImpl.endElement(TransformerHandlerImpl.java:524)
      

            ngavalda Nicolas Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: