Skip to main content

Hi,

I’m using XSD Driven XML Writer with XSD’s specified in schemaLocation. When I use absolute paths it works fine. When I try to use relative paths to the schemas I receive a error message.

http://www.company.de/example file://${FME_MF_DIR}schemas/app-schema/somename/5.1/somefile.xsd

Ends up in an error:

XML Parser error: 'Error at file: '' line: 0 column: 0 message: unable to open primary document entity 'C:\Windows\System32/file://${FME_MF_DIR}schemas/app-schema/somename/5.1/somefile.xsd''
An error occurred while attempting to parse the XML Schema document 'file://${FME_MF_DIR}schemas/app-schema/somename/5.1/somefile.xsd'

No idea why System32 is there since my FME_MF_DIR should be c:\projects\myproject

 

Be the first to reply!

Reply