-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 0.175 sec
<<< FAILURE!
testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test) Time
elapsed: 0.041 sec <<< ERROR!
java.lang.Exception: XML Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
at org.oostethys.sos.Netcdf2sos100.process(Netcdf2sos100.java:350)
at org.oostethys.sos.Netcdf2sos100.processForTest(Netcdf2sos100.java:323)
at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test.testGetCapabilities(Netcdf2sos_
mbari_ctd_Test.java:90)
testDescribeSensor(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test) Time
elapsed: 0.102 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_mbari_ctd_Test.testDescribeSensor(Netcdf2sos_m
bari_ctd_Test.java:112)
testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test) Time
elapsed: 0.019 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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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/mbari-oost.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_mbari_ctd_Test.testgetObservation(Netcdf2sos_m
bari_ctd_Test.java:142)
Original issue reported on code.google.com by ber...@gmail.com on 22 Sep 2009 at 3:29
Original issue reported on code.google.com by
ber...@gmail.com
on 22 Sep 2009 at 3:29