Highlighted

Namespaces duplicates as attributes on element when XML is saved

New Here ,
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

102

Likes

Translate

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

Namespaces duplicates as attributes on element when XML is saved

New Here ,
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

103

Likes

Translate

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
Sep 07, 2016 0

Have something to add?

Join the conversation