The problem with the encoding param value is in (but in multiple places as
far as I can tell):
main\java\org\geoserver\wfs\xml\v1_0_0\XmlSchemaEncoder.java
tempResponse.append("<?xml version=\"1.0\" encoding=\"" +
wfs.getCharSet().displayName()
+ "\"?>" + "\n<xs:schema ");
Is this not the same as:
http://jira.codehaus.org/browse/GEOS-693
?
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Gabriel Roldán <groldan@anonymised.com>
Naar: Bart van den Eijnden OSGIS <bartvde@anonymised.com>
Cc: Andrea Aime <aaime@anonymised.com>, Saul Farber
<Saul.Farber@anonymised.com>, 'Geoserver-devel'
<geoserver-devel@lists.sourceforge.net>
Onderwerp: Re: [Geoserver-users] DescribeFeatureType problem
Datum: 23/01/08 11:59
Hi Bart,
cc'ing geoserver-devel.Glad it worked, I've tracked it at
<http://jira.codehaus.org/browse/GEOT-1687>
Regarding the encoding declaration problem I'm not sure, does someone know
if
its a known problem? Otherwise please add a jira issue for it.
cheers,
GabrielOn Wednesday 23 January 2008 02:39:49 pm Bart van den Eijnden (OSGIS)
wrote:
> Hi Gabriel,
>
> this works, it leaves out the column.
>
> Now I also get the 1.0.0 response for DescribeFeatureType, but there
is the
> old problem with the encoding of the xml tag (encoding="UTF-8:
Unicode
> UTF-8" instead of encoding="UTF-8").
>
> <?xml version="1.0" encoding="UTF-8: Unicode
UTF-8"?><xs:schema
> targetNamespace="http://www.minvenw.nl/rws/agi"
> xmlns:rwsagi="http://www.minvenw.nl/rws/agi"
> xmlns:gml="http://www.opengis.net/gml"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
> attributeFormDefault="unqualified"
version="1.0"><xs:import
> namespace="http://www.opengis.net/gml"
>
schemaLocation="http://145.50.148.45:8082/geoserver/schemas/gml/2.1.2.1/fea
>ture.xsd"/><xs:complexType
xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns="http://www.w3.org/2001/XMLSchema"
>
name="DID.ANNOTATIE_Type"><xs:complexContent><xs:extension
>
base="gml:AbstractFeatureType"><xs:sequence><xs:element
name="OBJECTID"
> minOccurs="0" nillable="true"
type="xs:int"/><xs:element name="DATUM"
> minOccurs="0" nillable="true"
type="xs:dateTime"/><xs:element
> name="GEBRUIKER" minOccurs="0"
> nillable="true"><xs:simpleType><xs:restriction
> base="xs:string"><xs:maxLength
>
value="2147483647"/></xs:restriction></xs:simpleType></xs:element><xs:eleme
>nt name="TITEL" minOccurs="0"
nillable="true"><xs:simpleType><xs:restriction
> base="xs:string"><xs:maxLength
>
value="2147483647"/></xs:restriction></xs:simpleType></xs:element><xs:eleme
>nt name="SHAPE" minOccurs="0"
nillable="true"
>
type="gml:MultiPolygonPropertyType"/></xs:sequence></xs:extension></xs:comp
>lexContent></xs:complexType><xs:element
name="DID.ANNOTATIE"
> type="rwsagi:DID.ANNOTATIE_Type"
> substitutionGroup="gml:_Feature"/></xs:schema>
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>
> --------- Oorspronkelijk bericht --------
> Van: Gabriel Roldán <groldan@anonymised.com>
> Naar: Bart van den Eijnden OSGIS <bartvde@anonymised.com>
> Onderwerp: Re: [Geoserver-users] DescribeFeatureType problem
> Datum: 23/01/08 10:06
>
> > Hey Bart,
> > cool so.
> > Please try out the attached jar.
> > It _should_ avoid setting up a attribute types that can't be
handled
>
> (blob,
>
> > raster) into feature types.
> > Note I don't have a way to test it right now, so you'll be my
lab rabbit.
> >
> > Please let me know how it goes. It would be good if you set the
geoserver
> > logging level to GEOTOOLS_DEVELOPER profile so the log contains
as much
> > information as possible, and upon any error send me the
geoserver log.
> >
> > Thanks in advance.
> >
> > Gabriel
> >
> > On Wednesday 23 January 2008 12:05:22 pm Bart van den Eijnden
(OSGIS)
>
> wrote:
> > &gt; Hi Gabriel,
> > &gt;
> > &gt; the attribute is nillable, and I don't need to put
anything in it.
>
> It's
>
> > &gt; just that ArcSDE tells me not to remove this column
otherwise I
> > would
>
> have
>
> > &gt; done that
> > &gt;
> > &gt; I would be willing to try a jar out ofcourse. TIA.
> > &gt;
> > &gt; Best regards,
> > &gt; Bart
> > &gt;
> > &gt; --
> > &gt; Bart van den Eijnden
> > &gt; OSGIS, Open Source GIS
> > &gt; http://www.osgis.nl
> > &gt;
> > &gt;
> > &gt; --------- Oorspronkelijk bericht --------
> > &gt; Van: Gabriel Roldán
&lt;groldan@anonymised.com&gt;
> > &gt; Naar: geoserver-users@lists.sourceforge.net
> > &gt; &lt;geoserver-users@lists.sourceforge.net&gt;
> > &gt; Cc: Andrea Aime &lt;aaime@anonymised.com&gt;,
Bart van den Eijnden
>
> OSGIS
>
> > &gt; &lt;bartvde@anonymised.com&gt;, Saul Farber
> > &lt;Saul.Farber@anonymised.com&gt; &gt; Onderwerp: Re:
[Geoserver-users]
> > DescribeFeatureType problem &gt; Datum: 23/01/08 08:53
> > &gt;
> > &gt; &gt; Hi Bart, sorry for the late response
> > &gt; &gt;
> > &gt; &gt; the best I can think of to enable you using
the table is to try
>
> a
>
> > &gt;
> > &gt; workaround
> > &gt;
> > &gt; &gt; like ignoring this kind of columns in the
geotools arcsde
> > plugin
>
> as long
>
> > &gt;
> > &gt; as
> > &gt;
> > &gt; &gt; they're nillable.
> > &gt; &gt; I could try that and send you a jar to try
out. You don't need
>
> to set a
>
> > &gt;
> > &gt; value
> > &gt;
> > &gt; &gt; for that column through WFS-T, right? if so
would ignoring that
>
> column
>
> > &gt;
> > &gt; would
> > &gt;
> > &gt; &gt; be enough for your needs?
> > &gt; &gt; Otherwise we should need to actually support
blobs at arcsde
>
> (which is
>
> > &gt;
> > &gt; there
> > &gt;
> > &gt; &gt; but never actually tried it), and which could
be more
>
> complicated, on the
>
> > &gt;
> > &gt; WFS
> > &gt;
> > &gt; &gt; side of the fence. That won't happen in the
very near future
>
> though
>
> > &gt; &gt; except
> > &gt; &gt;
> > &gt; &gt; through some funded work or code donation, due
to other higher
>
> priority
>
> > &gt; &gt; concerns.
> > &gt; &gt;
> > &gt; &gt; Would you be willing to try out an arcsde jar
with that
>
> workaround so?
>
> > &gt; &gt;
> > &gt; &gt; Cheers,
> > &gt; &gt;
> > &gt; &gt; Gabriel
> > &gt; &gt; On Wednesday 23 January 2008 10:19:51 am
Andrea Aime wrote:
> > &gt; &gt; &amp;gt; Bart van den Eijnden (OSGIS) ha
scritto:
> > &gt; &gt; &amp;gt; &amp;gt; Hi Andrea,
> > &gt; &gt; &amp;gt; &amp;gt;
> > &gt; &gt; &amp;gt; &amp;gt; the table is still
empty, we are trying to
> > use
>
> WFS-T to fill it
>
> > &gt;
> > &gt; but
> > &gt;
> > &gt; &gt; &amp;gt; &amp;gt; without success
right now. So I can't do a
>
> GetFeature as yet
>
> > &gt; &gt; &amp;gt; &amp;gt;
> > &gt; &gt; &amp;gt; &amp;gt; For reference:
> > &gt; &gt; &amp;gt; &amp;gt;
> > &gt; &gt; &amp;gt; &amp;gt;
> > &gt;
> > &gt;
>
>
http://support.esri.com/index.cfm?fa=knowledgebase.techArticles.articleSh
>
> > &gt;
> > &gt; &gt; &amp;gt;
&amp;gt;ow&amp;amp;d=21938
> > &gt; &gt; &amp;gt;
> > &gt; &gt; &amp;gt; Hum, not sure we could do
anything good with this kind
>
> of
>
> > &gt; &gt; &amp;gt; column... maybe it would be wiser
to hide it at the
>
> datastore
>
> > &gt; &gt; &amp;gt; level? Doing WFS-T on it may be
problematic thought,
> > is
>
> ArcSDE
>
> > &gt; &gt; &amp;gt; able to fill in a default value
if we don't provide
>
> one?
>
> > &gt; &gt; &amp;gt;
> > &gt; &gt; &amp;gt; ArcSDE gurus needed here.
> > &gt; &gt; &amp;gt; Cheers
> > &gt; &gt; &amp;gt; Andrea
> > &gt; &gt; &amp;gt;
> > &gt; &gt; &amp;gt;
> > &gt;
> > &gt;
>
>
-------------------------------------------------------------------------
>
> > &gt;
> > &gt; &gt; &amp;gt; This SF.net email is sponsored
by: Microsoft
> > &gt; &gt; &amp;gt; Defy all challenges. Microsoft(R)
Visual Studio 2008.
> > &gt; &gt; &amp;gt;
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ &gt;
&gt;
> > &amp;gt; _______________________________________________
&gt; &gt;
> > &amp;gt; Geoserver-users mailing list
> > &gt; &gt; &amp;gt;
Geoserver-users@lists.sourceforge.net
> > &gt; &gt; &amp;gt;
>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> > &gt; &gt; &amp;gt;
> > &gt; &gt; &amp;gt;
> > &gt;
> > &gt;
>
> !DSPAM:4045,479743c931291096210785!