Improve xsd-core Schemas handling of paths with spaces
------------------------------------------------------

                 Key: GEOT-3411
                 URL: http://jira.codehaus.org/browse/GEOT-3411
             Project: GeoTools
          Issue Type: Sub-task
          Components: ext xml-xsd
    Affects Versions: 2.7.0, 2.8-M1
            Reporter: Ben Caradoc-Davies
            Assignee: Justin Deoliveira
         Attachments: Schemas.patch

The attached patch improved the handling in xsd-core Schemas of paths with 
spaces. Instead of urldecoding the input location, DataUtilities.urlToFile is 
used for manipulations. This means that an invalid file: URL containing 
unescaped spaces is never constructed, facilitating the implementation of 
SchemaLocationResolver implementations that otherwise have trouble handling 
broken URLs.

I can hold this off stable until 2.7.0 is out, if you like.

(I have previously had to work around this behaviour in app-schema-resolver: 
this fix will allow that workaround to be fixed as well.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to