You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/09/20 13:58:30 UTC

DO NOT REPLY [Bug 12831] - schema not found doesn't result in exception nor warning

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=12831>.
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=12831

schema not found doesn't result in exception nor warning

tng@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From tng@ca.ibm.com  2002-09-20 11:58 -------
There is a warning issued if the schema is not found:

D:\xerces-c2_1_0-win32\samples\data>ren personal.xsd persona.xsd
D:\xerces-c2_1_0-win32\bin>DOMCount -n -s D:\xerces-c2_1_0-win32
\samples\data\personal-schema.xml

Warning at file , line 0, char 0
  Message: An exception occurred! Type:RuntimeException, Message:Warning: The 
primary document entity could not be opened. Id=D:\xerces-c2_1_0-win32
\samples\data\personal.xsd

Errors occurred, no output available


Since it is documented in the Schema Spec that the schemalocation is only a 
hint, so it is just a warning, not a fatal error.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org