Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Namespaces duplicates as attributes on element when XML is saved

Guest
Sep 07, 2016 Sep 07, 2016

Copy link to clipboard

Copied

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.

TOPICS
Structured

Views

220
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation