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 2002/07/01 22:21:06 UTC
DO NOT REPLY [Bug 10384] New: -
ElemAttribute.execute() has incorrectly formatted WG_ILLEGAL_ATTRIBUTE message
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=10384>.
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=10384
ElemAttribute.execute() has incorrectly formatted WG_ILLEGAL_ATTRIBUTE message
Summary: ElemAttribute.execute() has incorrectly formatted
WG_ILLEGAL_ATTRIBUTE message
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Other
Component: org.apache.xalan.templates
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: curcuru@apache.org
Running conf test attribset19.xsl or attribset35.xsl prints out a warn() message to the console
like:
...Att1 has an illegal attribute: {1}
Code inspection shows that ElemAttribute.java
r1.17 line 136 calls
...warn(this, ...WG_ILLEGAL_ATTRIBUTE...) with only a single
replaceable parameter, attrName. The warning message itself WR0021 has two replaceable
parameters.
Note: the text of the message also doesn't seem to really match what this error is
all about: it's not that the attrValue is bad, it's that you can't have an attr unless you're at the
right spot in an element. So either the message text should be updated or we should have a new
message for this condition.