You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Brian Murray <br...@gmail.com> on 2008/02/27 02:22:17 UTC
XML Catalog test case failure in Axis2 on Linux
Hi all,
The test cases introduced in the jaxws module as part of XML Catalog support
fail on Linux. One problem I have found is that the Catalog API's are
returning "file://" (two slashes) on Linux when they (correctly) return
"file:/" (one slash) on Windows. If I add the following just before the
"return resolvedImportLocation" in CatalogWSDLLocator, then this problem is
corrected:
if (resolvedImportLocation != null)
resolvedImportLocation =
resolvedImportLocation.replaceFirst("file://",
"file:/");
A similar fix would be needed in CatalogURIResolver. Would this be an
objectionable correction?
Re: [Axis2] Re: XML Catalog test case failure in Axis2 on Linux
Posted by Deepal jayasinghe <de...@gmail.com>.
> Brian,
>
> fixed the breaking test with the hack for now...
Great :)
-Deepal
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[Axis2] Re: XML Catalog test case failure in Axis2 on Linux
Posted by Davanum Srinivas <da...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brian,
fixed the breaking test with the hack for now...
- -- dims
Brian Murray wrote:
| Hi all,
|
| The test cases introduced in the jaxws module as part of XML Catalog support
| fail on Linux. One problem I have found is that the Catalog API's are
| returning "file://" (two slashes) on Linux when they (correctly) return
| "file:/" (one slash) on Windows. If I add the following just before the
| "return resolvedImportLocation" in CatalogWSDLLocator, then this problem is
| corrected:
|
| if (resolvedImportLocation != null)
| resolvedImportLocation =
| resolvedImportLocation.replaceFirst("file://",
| "file:/");
|
| A similar fix would be needed in CatalogURIResolver. Would this be an
| objectionable correction?
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
iD8DBQFHxPTdgNg6eWEDv1kRAtmeAJ9Ofc/7aO9ii+xEGqdzdvjXXtRh0ACg2uJY
KXAQB1vts8sHlJGgYFcZMb0=
=0JBd
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org