Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
2.7.1
-
None
-
None
-
Operating System: All
Platform: All
-
10384
Description
Running conf test attribset19.xsl or attribset35.xsl prints out a warn() message to the console
like:
...Att1 has an illegal attribute:
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.