1

I use FME to make GML file based on SQLServer data. When I create GML, I cann't see anything in FME Data Inspector or Universal Viewer. Like something is missing in file. I have schema, and XMLValidator validates file against schema, but I still cann't see graphical data.

Link to Result.gml

Link to schema.

Does anyone knows what is the problem and what is missing in schema?

EDIT:

As requested! FME workspace

This is just a part, but main part. All features come into XMLTemplater, like on the picture. Some of them (with non-point geometry) goes first in GeometryExtractor and then into XMLTemplater. These StringReplacers works fine. XMLValidator validates document successfully.

2
  • Can you provide screenshots of your FME Workbench?
    – Fezter
    Commented Aug 4, 2014 at 4:12
  • @Fezter Uploaded and explained.
    – Aleksandar
    Commented Aug 4, 2014 at 7:40

1 Answer 1

1

The most obvious issue is that the GML file doesn't have a reference to the xsd schema document. Without that FME has no information on how the dataset is structured. Whatever template you are using in the XMLTemplater, you need to include that reference. Then FME will be able to view the data correctly.

2
  • I use text file as writer, so I don't know where to define schemaLocation in FME. Text file is used because I couldn't manage GML as I wanted.
    – Aleksandar
    Commented Aug 6, 2014 at 11:39
  • Where is the template coming from in the XMLTemplater? That's where the schema definition should be included. Commented Aug 15, 2014 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.