DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27872>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27872 add 'no-input-specified' error code if all inputs to LSParser are null Summary: add 'no-input-specified' error code if all inputs to LSParser are null Product: Xerces2-J Version: 2.6.2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
