I tried the CVS version and I tracked down where the problem is eventually occurring.

At ~line 97 of org.exolab.castor.xml.schema.reader.IncludeUnmarshaller, there is a comment 'remove file://'.  However the variable does not start with this prefix on a nested include for some reason.

I tried working backward through the code to figure out why it's not there, but my lack of SAX knowledge prevented any worthwhile effort.

There is some code earlier in the file that checks for the prefix before getting rid of it.

However, using the CVS source seems to ignore the primitivetowrapper setting in castorbuilder.properties.

Is this expected?

Arnaud Blandin wrote:
001401c1f514$d43293c0$[EMAIL PROTECTED]">
Hi Daniel,

Have you tried the CVS version, if so can you send us your schemas?

Arnaud

-----Original Message-----
From: Daniel Stolz [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 3:59 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Nested include of schemaLocation

If there is a schema that includes a schema that includes a schema,
Castor throws an exception because it truncates the first directorty
in
the path plus the first 2 characters of the next directory.

The following post
http://www.mail-archive.com/castor-dev%40exolab.org/msg04889.html
details the problem nicely but I could not find a response that
details
how to fix it.

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev


----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
	unsubscribe castor-dev



Reply via email to