FULL PRODUCT VERSION :
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b86)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b86, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
GNU/Linux, Windows XP and Mac OSX
A DESCRIPTION OF THE PROBLEM :
xml validation angaist a given schema fails with error:
Error at line -1 : cvc-elt.1: Cannot find the declaration of element 'module'.
for files that otherwise validate with previous JDK's
Suspect cannot find schema because does not understand
"xsi:noNamespaceSchemaLocation "
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
File to be verified:
<?xml version = "1.0" encoding = "UTF-8"?>
<module xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" name = "Westport Flood" description = "Westport flooding" version = "1.0.9" author = "gturek" created-date = "2006-06-02"xsi:noNamespaceSchemaLocation="file://home/turekg/dev/java/riskscape/xml/riskscape-module.xsd">
<hazard id = "39" module-wrapper = "riskscape.wrappers.flood.westport.WestportFloodsWrapper" max-gridsize = "1" update-url = "xxx" hazard-type = "Inundation-River Flood" name = "Westport Flood" description = "Westport flooding">
<spatial-availability coord-system = "NZMG">
<polygon>
<point x = "2390028" y = "5942510"/>
<point x = "2396029" y = "5943786"/>
<point x = "2398449" y = "5931254"/>
<point x = "2392389" y = "5930074"/>
</polygon>
</spatial-availability>
<user-level name = "Basic"/>
<parameter name = "ARI">
<level order = "1" name = "Basic"/>
<type>
<list default = "50">
<option value = "50" label = "50"/>
<option value = "100" label = "100"/>
<option value = "250" label = "250"/>
<option value = "500" label = "500"/>
<option value = "1000" label = "1000"/>
</list>
</type>
</parameter>
<exposure name = "Water level" exposure-type = "Inundation - Level (m)" aggregation-type = "maximum"/>
<exposure name = "Water depth " exposure-type = "Inundation - Depth (m)" aggregation-type = "maximum"/>
<exposure name = "Water velocity" exposure-type = "Inundation - Velocity (m/s)" aggregation-type = "maximum"/>
</hazard>
</module>
---------- END SOURCE ----------
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b86)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b86, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
GNU/Linux, Windows XP and Mac OSX
A DESCRIPTION OF THE PROBLEM :
xml validation angaist a given schema fails with error:
Error at line -1 : cvc-elt.1: Cannot find the declaration of element 'module'.
for files that otherwise validate with previous JDK's
Suspect cannot find schema because does not understand
"xsi:noNamespaceSchemaLocation "
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
File to be verified:
<?xml version = "1.0" encoding = "UTF-8"?>
<module xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" name = "Westport Flood" description = "Westport flooding" version = "1.0.9" author = "gturek" created-date = "2006-06-02"xsi:noNamespaceSchemaLocation="file://home/turekg/dev/java/riskscape/xml/riskscape-module.xsd">
<hazard id = "39" module-wrapper = "riskscape.wrappers.flood.westport.WestportFloodsWrapper" max-gridsize = "1" update-url = "xxx" hazard-type = "Inundation-River Flood" name = "Westport Flood" description = "Westport flooding">
<spatial-availability coord-system = "NZMG">
<polygon>
<point x = "2390028" y = "5942510"/>
<point x = "2396029" y = "5943786"/>
<point x = "2398449" y = "5931254"/>
<point x = "2392389" y = "5930074"/>
</polygon>
</spatial-availability>
<user-level name = "Basic"/>
<parameter name = "ARI">
<level order = "1" name = "Basic"/>
<type>
<list default = "50">
<option value = "50" label = "50"/>
<option value = "100" label = "100"/>
<option value = "250" label = "250"/>
<option value = "500" label = "500"/>
<option value = "1000" label = "1000"/>
</list>
</type>
</parameter>
<exposure name = "Water level" exposure-type = "Inundation - Level (m)" aggregation-type = "maximum"/>
<exposure name = "Water depth " exposure-type = "Inundation - Depth (m)" aggregation-type = "maximum"/>
<exposure name = "Water velocity" exposure-type = "Inundation - Velocity (m/s)" aggregation-type = "maximum"/>
</hazard>
</module>
---------- END SOURCE ----------