Skip to main content

I am trying to read an ALKIS data file coming as XML file. I have two files, the first one come with version 6.0 and FME opens this file without any problem (xmlns="http://www.adv-online.de/namespaces/adv/gid/6.0"). However, when i try to read the version 7.1 (xmlns="http://www.adv-online.de/namespaces/adv/gid/7.1") I got an error as following:

XML Parser error: 'Error at file: 'K:\……..

line: 1 column: 1 message: invalid document structure'

An error occurred while attempting to parse the XML Schema document 'file:///K:/Geodaten/Projekte/ALKIS/2411_ALKIS_NAS/NAS-Operationen.xsd'

The XML Module halted on error, see the logfile for details

A fatal error has occurred. Check the logfile above for details

Failed to specify the feature index as constraints on the reader

Failed to obtain any schemas from reader 'NAS' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information

 

do you have any sollution for that problem?

 

 

It depends on the XML file you are reading. I just tried a small NAS dataset in GID6 and GID7 variant and both were read in FME 2021 and FME 2024.2 without problems.

In your case it seems to not be able to find the XSD in FME install and so looks for it in the directory of the file itself.


Thank you very much. I have installed the missing files and it worked.


Reply