You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/04/23 07:19:51 UTC

DO NOT REPLY [Bug 8398] New: - fNormalizedValue not reset across invocations

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: xerces-j-dev@xml.apache.org
        ReportedBy: fabio@xqrl.com


(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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org