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 ji...@apache.org on 2004/04/14 19:52:43 UTC
[jira] Resolved: (XERCESJ-939) Attribute nodes not always being shown to LSSerializerFilter
Message:
The following issue has been resolved as FIXED.
Resolver: Michael Glavassevich
Date: Wed, 14 Apr 2004 10:51 AM
Thanks Naela. Your patch is in CVS. Please verify.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESJ-939
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESJ-939
Summary: Attribute nodes not always being shown to LSSerializerFilter
Type: Bug
Status: Resolved
Resolution: FIXED
Project: Xerces2-J
Components:
Serialization
Fix Fors:
2.6.2
Versions:
2.6.2
Assignee:
Reporter: Naela Nissar
Created: Tue, 30 Mar 2004 7:55 PM
Updated: Wed, 14 Apr 2004 10:51 AM
Environment: Operating System: Other
Platform: Other
Description:
Attribute nodes are currently being serialized automatically (without being
passed to a LSSerializerFilter) when namespace fixup is not performed.
Regardless of the value of fNamespaces, attribute nodes should be potentially
shown to a LSSerializerFilter (whether it is actually filtered is dependent on
whether the attribute is specified, the setting of 'discard-default-content' as
well as the whatToShow flag [1]). The printAttribute method currently being
used in serializeElement when namespace fixup is being performed can also be
called when namespace fixup is not being performed..
In addition, the LS spec states that "default attributes (except in the case
when "discard-default-content" is set to false), are never passed to the
filter." [1] That is, an attribute node in general should be passed to the
filter if it it is either specified OR if it is a default attribute
and 'discard-default-content' is false. Currently in the printAttribute
method, attribute nodes are passed to the filter if specified or if 'discard-
default-content' is set to true.
[1] http://www.w3.org/TR/2004/PR-DOM-Level-3-LS-20040205/load-save.html#LS-
LSSerializerFilter
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org