-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_unc_Test
-------------------------------------------------------------------------------
Tests run: 3, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 1.09 sec
<<< FAILURE!
testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_unc_Test) Time
elapsed: 0.703 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
at junit.framework.Assert.fail(Assert.java:47)
at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
at
org.oostethys.sos.test.Netcdf2sos_unc_Test.testGetCapabilities(Netcdf2sos_unc_Te
st.java:53)
testDescribeSensor(org.oostethys.sos.test.Netcdf2sos_unc_Test) Time
elapsed: 0.161 sec <<< ERROR!
org.apache.xmlbeans.XmlException: Element
ExceptionReport@http://www.opengis.net/ows/1.1 is not a valid
SensorML@http://www.opengis.net/sensorML/1.0.1 document or a valid
substitution.
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:328)
at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:715)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)
at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.
java:208)
at net.opengis.sensorML.x101.SensorMLDocument$Factory.parse(Unknown Source)
at
org.oostethys.sos.test.Netcdf2sos_unc_Test.testDescribeSensor(Netcdf2sos_unc_Tes
t.java:71)
testgetObservation(org.oostethys.sos.test.Netcdf2sos_unc_Test) Time
elapsed: 0.14 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
at junit.framework.Assert.fail(Assert.java:47)
at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
at
org.oostethys.sos.test.Netcdf2sos_unc_Test.testgetObservation(Netcdf2sos_unc_Tes
t.java:98)
Original issue reported on code.google.com by ber...@gmail.com on 22 Sep 2009 at 3:25
Original issue reported on code.google.com by
ber...@gmail.com
on 22 Sep 2009 at 3:25