Probably a bug...it looks like the IncludeUnmarshaller has gone
neglected for a while.
The logic for resolving URIs for import and include needs to be
consolodated into one file.
I'll put on the bug list...
Thanks,
--Keith
"SOUTHAM,BLAINE (HP-FtCollins,ex1)" wrote:
>
> The following schema causes an exception:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> elementFormDefault="qualified">
> <xsd:include schemaLocation="OTA_v2ent.xsd"/>
> <xsd:include schemaLocation="Privacy.xsd"/>
> ...
> ...
> ...
> </xsd:schema>
>
> I think that it is coming from IncludeUnmarshaller line 98. temp is "" and
> the call of temp = temp.substring(7) causes an
> StringIndexOutOfBoundException.
>
> Is it a defect in Castor or are relative paths for schemaLocation not valid?
>
> Thanks,
> Blaine
>
>
> -----------------------------------------------------------
> 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