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 bu...@apache.org on 2002/07/03 12:21:39 UTC

DO NOT REPLY [Bug 10433] - validator fails to find root element declaration

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

validator fails to find root element declaration

george@sync.ro changed:

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



------- Additional Comments From george@sync.ro  2002-07-03 10:21 -------
You can try like below and it will work:

<?xml version="1.0" encoding="UTF-8"?>
<a:Root xmlns:a="http://www.ordnancesurvey.co.uk/xml/namespaces/a"
    xmlns:b="http://www.ordnancesurvey.co.uk/xml/namespaces/b"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.ordnancesurvey.co.uk/xml/namespaces/a a.xsd 
http://www.ordnancesurvey.co.uk/xml/namespaces/b b.xsd">
    <b:content id="content">
        <b:string>content blurb.</b:string>
        <b:date>2002-06-12</b:date>
    </b:content>
</a:Root>


See also
http://www.w3.org/TR/xmlschema-0/
5.6 schemaLocation

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