DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29838>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29838 strange Digester parsing error Summary: strange Digester parsing error Product: Commons Version: 1.5 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Digester AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] While testing our application we ran into a strange Digester parse issue. It looks like the Digester sometimes forgets to parse a value in the xml. Here the situation: 1. If we fire testscript A that doesnot comply to the schema we set on the Digester then we get a parsing error as expected. The error is that field Z in the xml was not valid. 2. We fire testscript B which should return an answer. The first time we fire it the Digester doesnot map field Z (which now has a valid value) to the java class as defined in the rule file. 3. We fire testscript B again unchanged and now field Z is mapped by the Digester to the correct attribute in the corresponding java class. If at point 1 we dont fire testscript A (with the invalid value for attribute Z) but say C or any other this doesnot occur and we get the reply we expect...... It seems like that after a call which results in a SAXException due to an invalid value in the XML according to the attached schema the next call fails to parse the xml correctly to the java object defined in the rule file. The third call however (which is exactly the same as the second) succeeds. Any idea's? Regards, Lars Vonk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]