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/12 23:17:49 UTC
[jira] Updated: (XERCERJ-171) Attrib values lost when schema true but validation false
The following issue has been updated:
Updater: Serge Knystautas (mailto:sergek@lokitech.com)
Date: Mon, 12 Apr 2004 2:17 PM
Changes:
Attachment changed from testCase6382.ZIP
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XERCERJ-171?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCERJ-171
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCERJ-171
Summary: Attrib values lost when schema true but validation false
Type: Bug
Status: Resolved
Resolution: FIXED
Project: Xerces2-J
Assignee: Xerces-J Developers Mailing List
Reporter: Nicholas Chase
Created: Tue, 12 Feb 2002 12:38 AM
Updated: Mon, 12 Apr 2004 2:17 PM
Environment: Operating System: Windows NT/2K
Platform: PC
Description:
I have a command line application that uses DOMParser to parse a file,
then sends the resulting root node to another application that echoes
the document to the screen. When I set the validation feature to false
but the schema feature to true, all attribute nodes (including defaulted
nodes) are present, but all values are missing.
When I set the validation feature to true and the schema feature to
true, all attribute nodes and values appear as expected.
When I set the validation feature to false and the schema feature to
false, non-defaulted attributes are present as expected, but defaulted
attributes are missing. I believe this behavior is correct.
When I set the validation feature to true and the schema feature to
false, I get an error telling me that the DOCTYPE is missing, which
is correct.
I am attaching a ZIP file with test case.
---------------------------------------------------------------------
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