Hi all,

Using Xerces 2.7.1 through Maven 2.0.4.
I need to store XML schemas on our development site. The access to this
site is only through password authenticated SSL.
I've managed to find an workaround for MSXML4.0 by inserting the
username and password in the URL
(https://username:[EMAIL PROTECTED]/path/schema) -- of course all our XML
files will have usernames and password in them...
Anyway, this does not work for Xerces either :-(
The following error is reported by Maven:

[xmlvalidate] D:\mylocalpath\Foo.xml:8:390: schema_reference.4: Failed
to read schema document 'https://me:[EMAIL PROTECTED]/Foo.xsd',
because 1) could not find the document; 2) the document could not be
read; 3) the root element of the document is not <xsd:schema>.

Followed by:

[xmlvalidate] D:\mylocalpath\Foo.xml:8:390: cvc-elt.1: Cannot find the
declaration of element 'class'.

Maven can connect to our artifacts repository through https using the
same credentials, therefore I assume that there is no configuration
problem on the JRE level.

Any suggestions?

TIA,
Adrian.


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

Reply via email to