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=13384>. 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=13384 Test harness problems ------- Additional Comments From [EMAIL PROTECTED] 2002-10-09 11:46 ------- Actually a better approach (presuming the questionable testcases are all legal XML outputs) is to add more intelligence to the comparison routines. Right now it mostly blindly compares nodes in the tree recursively; it *should* be fairly simple to make it compare the namespace and localname of elements separately, which should handle this case. I'm thinking after line 279 in XHTComparator.java we could change the logic there; I'm not sure if more changes would be needed. Note that a long-term plan is to somehow have each test include expected validation hints with it (either in the blah.xsl file or in a separate catalog) so that the harness will know if it should expect XML or HTML or other kinds of output and do custom validation. The StylesheetDatalet structure has room for these options, but we don't actually fully read or use them yet.
