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/02/12 01:38:55 UTC
DO NOT REPLY [Bug 6382] New: -
Attrib values lost when schema true but validation false
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=6382>.
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=6382
Attrib values lost when schema true but validation false
Summary: Attrib values lost when schema true but validation false
Product: Xerces2-J
Version: 2.0.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: XML Schema Structures
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: nick@nicholaschase.com
CC: nick@nicholaschase.com
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org