Thanks for the reply, but I'm still having problems with this. I've tried so
many different things, but nothing is working. I have finally tried stored
my schema as /db/schemas/reference.xsd , and I am now trying to upload an
instance document called reference.xml to /db/transcript/
The root node of the reference.xml doc now looks like this:
Now when I try to load the doc I get an error saying that it cannot resolve
the <xs:schema> element.
I tried also storing the XMLSchema.xsd doc in the /db/schemas/ collection
and referencing it in the catalog file using the entry:
but then the java client just hangs.
Actually, I wanted to store my schemas collection inside the transcript
collection, but whenever I try to load a doc (with validation on), the
client just hangs.
I would be very grateful if you could please tell me some (any!) way of
getting this to work..
Dannes Wessels wrote:
> On Sat, Apr 5, 2008 at 1:32 PM, Swami Kevala <swami.kevala@...>
>> <reference xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> I guess you need to specify the full path to the xsd ; e.g.
> xmldb:exist:///db/collection/reference.xsd or
> http://localhost:8080/..bladibla.... for tomcat.
>> How do I configure validation
>> to work without using namespaces on my document. i.e. what do I need to
>> in the @name attribute on the uri catalog element
> the syntax of the catalog file is described in the OASIS
> documentation, and in the xerces website
>> I see that this question has already been asked in this forum, but you
>> to the eXist wiki for the answer, which does not seem to be currently
> The wiki is not there, unfortunately. Most of the documentation is nu
> part of 1.2.x however. The Wiki contained old information.
>> Also, I see that it is possible to store the catalog.xml file within the
>> database, but is it also possible to store the xsds within the database
>> instead of within the WEB-INF/entities folder?
> schema's are resolved relatively to the catalog location, or using an
> absolute path. So if you catalog is stored as
> xmldb:exist:///db/collection/mycatalog.xml and the relative schema uri
> is tralala/my.xsd then the effective location will be
> this is standard behavior of the apache resolver classes.
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
> Exist-open mailing list
View this message in context: http://www.nabble.com/Implicit-Validation-with-no-namespaces-tp16512054p16522741.html
Sent from the exist-open mailing list archive at Nabble.com.