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/10/04 17:13:15 UTC

DO NOT REPLY [Bug 3969] New: - misleading error-message when creating an attribute without an element as parent

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=3969>.
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=3969

misleading error-message when creating an attribute without an element as parent

           Summary: misleading error-message when creating an attribute
                    without an element as parent
           Product: XalanJ2
           Version: 2.2.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: org.apache.xalan.transformer
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: joerg.heinicke@gmx.de


Creating an attribute (<xsl:attribute>) without an element as parent causes
following error-message:

 test has an illegal attribute: {1}

The problem: 'test' HAS not an illegal attribute, it IS the illegal attribute.

It's only a problem with minor priority, but the error message is misleading. A
better message could help with debugging.

Joerg