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

domcount.exe mistakenly complains about an "already used" attribute

           Summary: domcount.exe mistakenly complains about an "already
                    used" attribute
           Product: Xerces-C++
           Version: 2.4.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


To reproduce, just create a file (say server.xml) containing the following 
line...

<Connector enableLookups="1" connectionTimeout='2000'/>


and then run...

domcount server.xml

where domcount.exe comes from the "bin" directory of the xerces xerces-c2_4_0-
windows_nt-msvc_60 download.

The outputI get is...

Fatal Error at file D:\Java\apache tomcat 4.1.27\conf/server.xml, line 1, char 
48
  Message: The attribute 'connectionTimeout' is already used in 
element 'Connector'

Errors occurred, no output available

This error is normally produced when a given attribute appears more than once 
on an element.  This server.xml started out life as a Tomcat configuration file 
but I was able to trim it all the way down to a one-line file and still 
reproduce the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to