Hi Theodor,

Can you perhaps send us the code of how you are setting up the
transformer. If i run it "out of the box" i definitely get prefixes. A
couple of questions for you.

1. What version of geotools are you using?

2. Since you have the debugger handy it would be nice to know what the
concrete subclass of org.xml.sax.ContentHandler is. I believe that
different implementations can be used depending what is on your
classpath. So it could be that you are picking up a different one than
the norm.

-Justin

Theodor Foerster wrote:
> Hi,
> I am trying to write GML using the FeatureTransformer. In order to
> create valid GML, I need to have prefixes. However they do not appear,
> in the resulting document, although I set the prefixes. So if I debug
> into the FeatureTransformer, I can see, that the the contentsHandler
> always receives the qualifiedName including the prefix. So I do not
> know, what is wrong. 
> 
> I basically declare the namespaces for the FeatureTransformer and also
> add the schemaLocation to the Featuretransformer.
> 
> Any help is appreciated!
> Cheers,
> Theodor
> 
> ITC, Enschede
> Department of Geo Information Processing PO. Box 6 7500 AA  Enschede the
> Netherlands 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


-- 
Justin Deoliveira
The Open Planning Project
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to