Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
4796
Description
In the constructor:
public SAXSourceLocator(Locator locator)
The correct values are being set.
However, in the 'get' methods (e.g.)
public int getColumnNumber()
it appears that values in m_locator have changed and no longer have the values
they had upon initialisation.
I would suggest that m_locator is removed from this class (and its values only
unsed during construction). This would make this class immutable. And the get
methods would simply be:
public int getColumnNumber()
{ return super.getColumnNumber(); }er, or even unneccesary (just rely on superclass implementation).