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/05/25 00:36:00 UTC
DO NOT REPLY [Bug 9409] New: -
xmlns attributes dropped from output with sax.Writer.java sample program
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=9409>.
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=9409
xmlns attributes dropped from output with sax.Writer.java sample program
Summary: xmlns attributes dropped from output with
sax.Writer.java sample program
Product: Xerces2-J
Version: 2.0.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Critical
Priority: Other
Component: SAX
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: jcoughlin@veridicom.com
I am moving from Xerces 1.4.3 to 2.0.1.
I first run some of my sample schemas and instance documents with the supplied
sax.Writer and dom.Writer sample programs. With the same input the two sample
programs produce different output. The sax.Writer drops all xmlns attributes
from the document root element.
Files included:
zValidateDom.cmd - A shell script to invoke dom.Writer with the following
options: -v -s -f -n
zValidateSax.cmd - A shell script to invoke dom.Writer with the following
options: -v -s -f -n
X208PublicKey.xml - The input instance document.
asn1.xsd.xml - The schema document.
_Dom_validated.X208PublicKey.xml - Output from running zValidateDom.cmd
_Sax_validated.X208PublicKey.xml - Output from running zValidateSax.cmd
Note: When running the two command files, I manually renamed the output files
with either _Dom or _Sax respectively.
Xerces 1.4.3 did not have this behaivor.
Can you tell me why the xmlns attributes were dropped?
I have this behaivor in my code as well. That is why I run the sample programs
before anything else when moving from one version to another.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org