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/23 19:56:54 UTC
[jira] Closed: (XERCESJ-899) add 'no-input-specified' error code if all inputs to LSParser are null
Message:
The following issue has been closed.
Resolver: Michael Glavassevich
Date: Fri, 23 Apr 2004 10:55 AM
Closed as per state in Bugzilla.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESJ-899
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESJ-899
Summary: add 'no-input-specified' error code if all inputs to LSParser are null
Type: Bug
Status: Closed
Resolution: FIXED
Project: Xerces2-J
Components:
DOM
Versions:
2.6.2
Assignee: Michael Glavassevich
Reporter: Naela Nissar
Created: Tue, 23 Mar 2004 4:50 PM
Updated: Fri, 23 Apr 2004 10:55 AM
Environment: Operating System: Other
Platform: Other
Description:
PR addition to DOM LS spec, stating that "If all inputs are null, the LSParser
will report a DOMError with its DOMError.type set to "no-input-specified" and
its DOMError.severity set to DOMError.SEVERITY_FATAL_ERROR." [1]
Also spec states "The LSParser will use the LSInput object to determine how to
read data...looking at the different inputs specified in the LSInput in the
following order to know which one to read from, the first one that is not null
and not an empty string will be used:
1.LSInput.characterStream
2.LSInput.byteStream
3.LSInput.stringData
4.LSInput.systemId
5.LSInput.publicId
Currently, we are not looking at the inputs in the specified order. I've
included that minor rearrangement in dom2xmlInputSource in the proposed patch
as well.
---------------------------------------------------------------------
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