You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/11/20 08:16:53 UTC

DO NOT REPLY [Bug 4962] New: - Typo in constructor DOM2DTM$defaultNamespaceDeclarationNode

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4962>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4962

Typo in constructor DOM2DTM$defaultNamespaceDeclarationNode

           Summary: Typo in constructor
                    DOM2DTM$defaultNamespaceDeclarationNode
           Product: XalanJ2
           Version: 2.2.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xml.dtm
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: gregor.karlinger@gmx.net


The following is the code from the constructor. As you can see, there is a
typo in the parameter declaration of the constructor (peseudoparent instead
of pseudoparent, and therefore the first line of the constructor becomes
a self-assignment (this.pseudoparent=pseudoparent).

    Element pseudoparent;
    String prefix,uri;
    defaultNamespaceDeclarationNode(Element peseudoparent,String prefix,String 
uri)
    {
      this.pseudoparent=pseudoparent;
      this.prefix=prefix;
      this.uri=uri;
    }

Regards, Gregor