The getSpecified method of Attr does not work in one case

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.1
    • Affects Version/s: 1.1, 1.4.1
    • Component/s: xml
    • 1.1fcs
    • sparc
    • solaris_7, solaris_8
    • Verified

      The getSpecified method of Attr is supposed to return false in the following case :
      If the attribute has no assigned value in the document and has a default value in the DTD, then specified is false, and the value is the default value in the DTD.
       
      I have attached an xml file with the DTD and also a sample program which shows that it returns the default value of the DTD for the attribute but does not return the specified as false.

            Assignee:
            Edwin Goei (Inactive)
            Reporter:
            Bhakti Mehta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: