Graham,
could you contribute a new patch file for this. Thanks.
John Kaputin
"Graham Turrell
(JIRA)"
<[EMAIL PROTECTED]> To
[email protected]
20/10/2006 17:13 cc
Subject
Please respond to [jira] Commented: (WODEN-63)
[EMAIL PROTECTED] Problem with Test Case:
he.org javax/xml/namespace/QNameTest/testG
oodDeserializeQNameWithoutPrefix()
[
http://issues.apache.org/jira/browse/WODEN-63?page=comments#action_12443879
]
Graham Turrell commented on WODEN-63:
-------------------------------------
A better way of achieving this is to use the following :
File f = new File(new URI(url.getFile()).getPath());
> Problem with Test Case:
javax/xml/namespace/QNameTest/testGoodDeserializeQNameWithoutPrefix()
>
---------------------------------------------------------------------------------------------
>
> Key: WODEN-63
> URL: http://issues.apache.org/jira/browse/WODEN-63
> Project: Woden
> Issue Type: Bug
> Components: Validation
> Environment: WinXP: Testcases situated in directory whose path
contains whitespace (such as C:\Documents And Settings)
> Reporter: Graham Turrell
> Priority: Minor
> Attachments: woden63patch.txt
>
>
> where the working directory path contains one or more spaces in the name,
this test throws an error. The reason is that Classloader.getResource()
returns a URL object which correctly substitutes space character with the
substring "%20". The test attempts to open a FileInputStream using the
resultant String as the filename, without and conversion back to space
character, thus throwing a FileNotFoundException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]