WFS parsing filter capabilities fails

Description

I getting the following exception on parsing a WFS capabilities. Looks like the xml is valid verses the schema. Any thoughts?

  • <Filter_Capabilities xmlns="http://www.opengis.net/ogc">
    * <Spatial_Capabilities>
    * <Spatial_Operators>
    <BBOX />
    <Equals />
    <Disjoint />
    <Intersect />
    <Touches />
    <Crosses />
    <Within />
    <Contains />
    <Overlaps />
    <Beyond />
    <DWithin />
    </Spatial_Operators>
    </Spatial_Capabilities>
    * <Scalar_Capabilities>
    <Logical_Operators />
    * <Comparison_Operators>
    <Simple_Comparisons />
    <Like />
    <Between />
    <NullCheck />
    </Comparison_Operators>
    * <Arithmetic_Operators>
    <Simple_Arithmetic />
    * <Functions>
    * <Function_Names>
    <Function_Name nArgs="1">Upper</Function_Name> <<<<<<<<exception occurs here
    <Function_Name nArgs="1">Lower</Function_Name>
    <Function_Name nArgs="3">Distance</Function_Name>
    <Function_Name nArgs="1">Score</Function_Name>
    </Function_Names>
    </Functions>
    </Arithmetic_Operators>
    </Scalar_Capabilities>
    </Filter_Capabilities>

URL = http://webservices.ionicsoft.com/ionicweb/wfs/BOSTON_ORA?version=1.0.0&request=getcapabilities&service=WFS - http://webservices.ionicsoft.com/ionicweb/wfs/BOSTON_ORA?version=1.0.0&request=getcapabilities&service=WFS
org.xml.sax.SAXException: The Function_NameType type may not have mixed content
at org.geotools.xml.handlers.ComplexElementHandler.characters(ComplexElementHandler.java:115)
at org.geotools.xml.XMLSAXHandler.characters(XMLSAXHandler.java:184)
at org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java:598)
at org.apache.crimson.parser.Parser2.content(Parser2.java:2010)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
at org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:137)
at org.geotools.data.wfs.WFSDataStore.<init>(WFSDataStore.java:122)
at org.geotools.data.wfs.WFSDataStoreFactory.createNewDataStore(WFSDataStoreFactory.java:194)
at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:115)

Environment

None

Activity

Show:
codehaus
April 10, 2015, 2:54 PM

CodeHaus Comment From: bwoodward - Time: Tue, 4 Jan 2005 17:30:11 -0600
---------------------
Potential fix: Changed subclass Function_NameType.isMixed() to return TRUE

codehaus
April 10, 2015, 2:54 PM

CodeHaus Comment From: bwoodward - Time: Tue, 4 Jan 2005 17:33:16 -0600
---------------------
Updated test cases to test above fix, includes wfs capabilites and test for Ionic WFS server

codehaus
April 10, 2015, 2:54 PM

CodeHaus Comment From: dzwiers - Time: Wed, 5 Jan 2005 17:50:58 -0600
---------------------
Thanks Bill, fixed up.

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

High
Configure