Skip to main content
Question

XSD Drive XML Writer with Relative Path to schemaLocation

  • December 4, 2024
  • 0 replies
  • 29 views

hasant1973
Contributor
Forum|alt.badge.img+3

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

 

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings