On Thu, Feb 19, 2015 at 10:48 PM, Torben Barsballe <
tbarsba...@boundlessgeo.com> wrote:

> I have got XML type support working for JDBC (only PostGIS is implemented
> right now) and GML.
>
> For PostGIS/JDBC:
>
>    - I will support both fragments and full documents. This means that we
>    cannot rely on having a schema. Note that not all databases support
>    document fragments, although PostGIS does
>    - I have a generic JDBC test case written, and a PostGIS
>    implementation of the test setup; Future implementations for other
>    databases will only need to implement database setup code.
>    - Per database converter code is necessary, becuase the various
>    databases generally do not use the Java standard SQLXML type, but rather
>    define their own types.
>
> For GML/WFS:
>
>    - Since the attribute defines a name, we can we can map it to
>    xs:anyType (slightly more strict than xs:any)
>    - To support this, I have modified the
>    ComplexSupportXSAnyTypeBinding.encode() method to support any Node object.
>    I am not sure this is the best place for this, but it is the best place I
>    could find.
>
>
Hi,
did you do any client testing? How do stuff like QGis, uDig, Gaia handle
this new attribute with "unforeseen" content?


>
>    -
>
> A pull request containing my changes is here
> <https://github.com/geotools/geotools/pull/744>, but I am open to further
> discussion before it is merged. Prior to this, I was not familiar with the
> underlying implementations, so it is very possible that I missed something.
>
> I did attempt to implement Oracle support but ran into a number of issues.
> Without being able to directly use types and methods from the Oracle jdbc
> driver and Oracle XML Developers Kit, support for the version of oracle
> currently supported by geotools is dubious. Fortunately, newer versions of
> Oracle (11+) support the java SQLXML type, and should work with the JDBC
> converter code.
>
>
The way to go if you want to use specific API would be to extend the dummy
driver but... I don't know if there is the source code of the dummy driver
anywhere.
Jody, I believe you were involved in its initial implementation, any news
about its source code?

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to