timmy00274672 / oostethys

Automatically exported from code.google.com/p/oostethys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

faield test - testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_unc_2Test)

GoogleCodeExporter opened this issue · comments

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_unc_2Test
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.264 sec
<<< FAILURE!
testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_unc_2Test)  Time
elapsed: 0.129 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_2Test.testGetCapabilities(Netcdf2sos_unc_2
Test.java:51)

testDescribeSensor(org.oostethys.sos.test.Netcdf2sos_unc_2Test)  Time
elapsed: 0.126 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_2Test.testDescribeSensor(Netcdf2sos_unc_2T
est.java:68)


Original issue reported on code.google.com by ber...@gmail.com on 22 Sep 2009 at 3:27

fixed in revision r287

Original comment by ber...@gmail.com on 13 Oct 2009 at 11:19

  • Changed state: Fixed