Timothy,

The main problems in XML files you sent to me is the following tag:

<AddressBook xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
             xmlns="http://www.deansoft.com/AddressBook";
             xsi:schemaLocation="http://www.deansoft.com/AddressBook
AddressBook.xsd">

Because you've specified the relative schema location, Xerces thinks
that it is calculated relative to the current working dir
(<IDEA_HOME>/bin) in our case. If you remove schemaLocation attribute,
validation will be performed. 

Best regards,
Mike Aizatsky.
------------------------------
IntelliJ Software, "Develop with pleasure!" http://www.intellij.com


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
> Behalf Of Timothy M. Dean
> Sent: Tuesday, March 12, 2002 4:41 AM
> To: [EMAIL PROTECTED]
> Subject: [Eap-list] Still no results when validating against a schema
> 
> IDEA Build #611
> JDK 1.3.1
> Win 2K
> 
> I am still trying to validate an XML file against a schema, and still
not
> having any success with build #611. In the current version, executing
a
> validate (Ctrl-Shift-F9) on my XML file results in the Messages window
> showing up, with a new "Validate" tab on it. However, there is no
messages
> of success or failure in that tab. On the console I see the following
> information:
> 
> schemaLocations = 'http://www.deansoft.com/AddressBook AddressBook.xsd
> http://www.w3.org/2001/XMLSchema-instance
> http://www.w3.org/2001/XMLSchema-instance'
> noNsSchemaLocation = 'http://www.deansoft.com/AddressBook'
> publicId = 'null'
> systemId = 'file:///D:/IntelliJ/Ariadna/bin/AddressBook.xsd'
> file = 'null'
> 
> - Tim
> 
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to