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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
