Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Attribute ending in backslash fails formatting #6

Closed
KarlGunderson opened this issue Jul 28, 2016 · 2 comments
Closed

Attribute ending in backslash fails formatting #6

KarlGunderson opened this issue Jul 28, 2016 · 2 comments
Labels

Comments

@KarlGunderson
Copy link

KarlGunderson commented Jul 28, 2016

An attribute like:

<absPath url="D:\Users\kgunders\Documents\MR\Projects\HyperLinkSheets"

Will cause the following error:

XML formatting failed: at line 2, column 694: namespace prefix must be followed by a tag name.

Here is more context from the problematic XML:

    <Choice Requires="x15">
        <absPath url="D:\Users\kgunders\Documents\MR\Projects\HyperLinkSheets\" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac" />
    </Choice>

A work around is to temporarily add a character after the backslash, format, and remove the extra character.

@FabianLauer
Copy link
Owner

@KarlGunderson Thank you for this hint. I'm looking into it right now 👍

@FabianLauer
Copy link
Owner

This problem is now fixed in the XML library. There'll be an update for the extension soon 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants