Yeah... this test copies a schema into the temp directory, and the
modifies the xml to point at it. Its possible that it is being done in a
way that does not work on windows.... I will look into it.

-Justin

Andrea Aime wrote:

> Hi,
> trying to build on windows I have the following failure in the xsd/wfs
> module:
> 
> -------------------------------------------------------------------------------
> 
> Test set: org.geotools.wfs.WFSParsingTest
> -------------------------------------------------------------------------------
> 
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.016
> sec <<< FAILURE!
> testParseGetFeature(org.geotools.wfs.WFSParsingTest)  Time elapsed:
> 0.969 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<155> but was:<155>
>     at junit.framework.Assert.fail(Assert.java:47)
>     at junit.framework.Assert.failNotEquals(Assert.java:282)
>     at junit.framework.Assert.assertEquals(Assert.java:64)
>     at junit.framework.Assert.assertEquals(Assert.java:71)
>     at
> org.geotools.wfs.WFSParsingTest.testParseGetFeature(WFSParsingTest.java:211)
> 
> 
> This happens becase the attribute value is the string "155" instead of
> being a big integer. Now, if I had to take a shot at why this is
> happening only on my computer, I suspect some schema is not found and
> thus the parser tries to work in lenient mode taking everything as a
> string, and this happens because on Windows some schema is not found,
> maybe because the default temp directory has spaces in the path
> or something like that...
> 
> This Windows specific breakages are getting frustrating... time to have
> a windows build box too?
> 
> Cheers
> Andrea
> 
> !DSPAM:4007,4739bdc0124681015089218!
> 


-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to