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

fNormalizedValue not reset across invocations

           Summary: fNormalizedValue not reset across invocations
           Product: Xerces2-J
           Version: 2.0.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


(Attribute|Element)PSVImpl.getSchemaNormalizedValue() sometimes 
reports the wrong value, apparently the same element/attribute object is 
reused for different consecutive elements/attributes and it is not reset 
properly.

Example: running the XNI PSVI samples with the personnel data gives the 
value "Big" to both the given element and to the name element, while the 
name should have a nil value. It is evident that name inherits the value 
from given.

Resetting fNormalizedValue to null in (Attribute|Element)PSVImpl.reset() 
solves the problem.

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

Reply via email to