You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2004/01/19 23:35:46 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/util URI.java
mrglavas 2004/01/19 14:35:46
Modified: java/src/org/apache/xerces/util URI.java
Log:
Fixing the remainder of Bug #18785:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18785
White space characters aren't allowed to be in front of the
scheme portion of a URI even if they are escaped.
Revision Changes Path
1.15 +2 -2 xml-xerces/java/src/org/apache/xerces/util/URI.java
Index: URI.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/util/URI.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- URI.java 26 Sep 2003 19:22:05 -0000 1.14
+++ URI.java 19 Jan 2004 22:35:46 -0000 1.15
@@ -475,7 +475,7 @@
private void initialize(URI p_base, String p_uriSpec)
throws MalformedURIException {
- String uriSpec = (p_uriSpec != null) ? p_uriSpec.trim() : null;
+ String uriSpec = p_uriSpec;
int uriSpecLen = (uriSpec != null) ? uriSpec.length() : 0;
if (p_base == null && uriSpecLen == 0) {
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org