Replace use of XMLEncoder.encode( Filter )

Description

Update: Was Replace use of DOM with SAX

We have found that this bug report was a misunderstanding of the Geotools2 XMLEncoder class.

Section 3.3.2 VWFS Implementation Report

The current XML reader used to process configuration information is based on
the Document Object Model. The rest of the GeoServer application makes use of
SAX based parsers.
GeoTools2 has recently deprecated their DOM based OGC Filter and GML
parsers. The configuration subsystem and the validation subsystem use these
components.
To account for these changes we will need to port our configuration readers to a
SAX based parser.

Environment

None

Activity

codehaus 
April 10, 2015 at 3:54 PM

CodeHaus Comment From: cholmes - Time: Thu, 28 Oct 2004 12:16:18 -0500
---------------------
<p>This works fine as is. </p>

codehaus 
April 10, 2015 at 3:54 PM

CodeHaus Comment From: jgarnett - Time: Fri, 6 Feb 2004 14:38:53 -0600
---------------------
<p>I am taking this off the 1.2.0 fast track</p>

codehaus 
April 10, 2015 at 3:54 PM

CodeHaus Comment From: jgarnett - Time: Fri, 6 Feb 2004 14:35:50 -0600
---------------------
<p>Okay I have confirmed that we are just using XMLEncoder.encoder( Filter ) to generate a String for output.</p>

<p>So what we have here is a lack of documentation/knowledge on how to use FilterTransformer. I am downgrading this to minor, have attached a link to a Geotools2 bug report, and will let this one slide.</p>

codehaus 
April 10, 2015 at 3:54 PM

CodeHaus Comment From: jgarnett - Time: Fri, 6 Feb 2004 13:53:56 -0600
---------------------
<p>XMLEncoder for filter is the class that we need to undeprecate or convert everything of to SAX.</p>

codehaus 
April 10, 2015 at 3:54 PM

Won't Fix

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created February 5, 2004 at 10:27 PM
Updated October 31, 2015 at 4:55 PM
Resolved May 26, 2015 at 2:09 PM