[Geoserver-devel] [JIRA] (GEOS-10510) GTXML parser handling of xs:boolean attributes mixed and abstract values true and false

Jody Garnett created an issue

GeoServer / BugGEOS-10510

GTXML parser handling of xs:boolean attributes mixed and abstract values true and false

Issue Type:

BugBug

Assignee:

Unassigned

Created:

24/May/22 9:04 PM

Priority:

MediumMedium

Reporter:

Jody Garnett

Found something odd in GTXML parser: Use of Boolean.getBoolean( String ) which checks system property, where I believe Boolean.valueOf( text ) was intended to check for “true” or “false”.

I expect GTXML was unable to recognize:

  • ComplexType with mixed content: mixed=true resulting in lookup of -Dtrue system property, returning Boolean.FALSE
  • ElementType marked as abstract: abstract=true resulting in lookup of -Dtrue system property, returning Boolean.FALSE

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100198-sha1:faaaa62)

Atlassian logo