Skip to main content
September 7, 2016
Question

Namespaces duplicates as attributes on element when XML is saved

  • September 7, 2016
  • 0 replies
  • 252 views

I am opening an XML file with a schema declaration.

<Mnl xsi:noNamespaceSchemaLocation = "file:///C:/Program%20Files%20(x86)/Adobe/AdobeFrameMaker2015/structure/mnl/mnl_schema.xsd"

    xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">

When I make a change and save the XML file xsi:noNamespaceSchemaLocation is duplicated, and it appears as

<Mnl xsi:noNamespaceSchemaLocation = "file:///C:/Program%20Files%20(x86)/Adobe/AdobeFrameMaker2015/structure/mnl/mnl_schema.xsd"

    xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "file:///C:/Program%20Files%20(x86)/Adobe/AdobeFrameMaker2015/structure/mnl/mnl_schema.xsd">

In the XMLApplication defined, I have enabled namespaces to not write the attributes but that doesn't help.

I have tried removing the namespaces declaration when opening the XML file but that doesn't help and the issue persists.

I believe I am missing a small setting to disable Framemaker to not duplicate the schema location.

Please advise.

This topic has been closed for replies.