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:23:44 UTC
[jira] Updated: (XERCERJ-331) xmlns attributes dropped from output with sax.Writer.java sample program
The following issue has been updated:
Updater: Serge Knystautas (mailto:sergek@lokitech.com)
Date: Mon, 12 Apr 2004 2:22 PM
Changes:
Attachment changed from asn1.xsd.xml
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XERCERJ-331?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCERJ-331
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCERJ-331
Summary: xmlns attributes dropped from output with sax.Writer.java sample program
Type: Bug
Status: Resolved
Resolution: INCOMPLETE
Project: Xerces2-J
Assignee: Xerces-J Developers Mailing List
Reporter: James Coughlin
Created: Fri, 24 May 2002 10:35 PM
Updated: Mon, 12 Apr 2004 2:22 PM
Environment: Operating System: Windows NT/2K
Platform: PC
Description:
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.
---------------------------------------------------------------------
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