Node.hasAttributes() returns false always - with xalan

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.3.0
    • Affects Version/s: 1.3.0
    • Component/s: xml
    • 1.3.0
    • generic
    • generic

      Node.hasAttributes() returns false always - with xalan
       - this works properly with xsltc .

      To reproduce the problem -

      set JAVA_HOME to jdk1.4.2
      set ANT_HOME
      setenv PATH .:$JAVA_HOME/bin:$ANT_HOME/bin:$PATH

      and in the attached build.xml change "JAXP_JARS" property
      to point to latest jaxp jars

      also set system property in build.xml to run against xalan or xsltc .

      <sysproperty key="javax.xml.transform.TransformerFactory" value="org.apache.xalan.processor.TransformerFactoryImpl"/>
      <!--sysproperty key="javax.xml.transform.TransformerFactory" value="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"/-->


       - shows error with both jaxp1.2.6 jars(b02 nightly - july22) and jaxp 1.3 jars(b23 nightly - july 22)

      Actually the issue is in transformer part , even though subcategory is marked dom

      Attached files
      --------------
      Bug4858685.java
      DOMDump.java
      certificate.xml
      build.xml

            Assignee:
            Jeff Suttor (Inactive)
            Reporter:
            Sreejith Ak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: