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

Schema error with external-noNamespaceSchemaLocation





------- Additional Comments From [EMAIL PROTECTED]  2003-07-04 16:08 -------
Your problem seems to be that you didn't declare a namespace in your instance 
document. The target namespace for your schema is 
http://www.eg.org/filemetadata, but in your instance document you haven't 
placed file_metadata in this namespace.

Using your example try:

<?xml version="1.0" encoding="UTF-8"?>
<file_metadata xmlns="http://www.eg.org/filemetadata";>
        <standard> etc.

or (any prefix will do)

<?xml version="1.0" encoding="UTF-8"?>
<md:file_metadata xmlns:md="http://www.eg.org/filemetadata";>
        <md:standard> etc.

These problems are easier to diagnose if you post a full example: your xml/xsd 
documents, and perhaps your java source. If the above approaches work for you, 
could you please reclose this report. Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to