Uploaded image for project: 'NorthernWind'
  1. NorthernWind
  2. NW-100

XsltMacroFilter crashes when parsing the xml:lang attribute

Attach ScreenshotClone
    XMLWordPrintable

    Details

      Description

      It seems a bug with the JAXP version embedded in JDK 1.6.

      Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xalan.internal.xsltc.TransletException: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:713)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
      at it.tidalwave.northernwind.core.impl.model.XsltMacroFilter.filter(XsltMacroFilter.java:148)
      ... 75 more
      Caused by: com.sun.org.apache.xalan.internal.xsltc.TransletException: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
      at com.sun.org.apache.xalan.internal.xsltc.dom.SAXImpl.shallowCopy(SAXImpl.java:1743)
      at com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter.shallowCopy(DOMAdapter.java:314)
      at com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM.shallowCopy(MultiDOM.java:514)
      at GregorSamsa.template$dot$0()
      at GregorSamsa.applyTemplates()
      at GregorSamsa.template$dot$0()
      at GregorSamsa.applyTemplates()
      at GregorSamsa.applyTemplates()
      at GregorSamsa.transform()
      at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:603)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:709)

        Attachments

          Activity

            People

            • Assignee:
              fabrizio.giudici Fabrizio Giudici
              Reporter:
              fabrizio.giudici Fabrizio Giudici
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: