History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: DROOLS-471
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Kris Verlaenen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
drools-legacy

The method setLocator in RuleSetReader should actually be setDocumentLocator

Created: 06/Jan/06 07:27 AM   Updated: 06/Jan/06 07:32 AM
Component/s: io
Affects Version/s: None
Fix Version/s: 2.5

Time Tracking:
Not Specified


 Description  « Hide
The method setLocator in RuleSetReader should override the same method defined in org.xml.sax.ContentHandler.
The method name should actually be setDocumentLocator. Currently, the document locator of a RuleSetReader is always null.
Renaming the method fixes this problem so that line number can be retrieved when parsing rules.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Kris Verlaenen - 06/Jan/06 07:32 AM
Fixed by renaming method.