xmlns= xmlns= xmlns= xmlns=....

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
jdfranklin
Jr. Propeller Head
Posts: 7
Joined: Fri Nov 06, 2009 10:14 am

xmlns= xmlns= xmlns= xmlns=....

Post by jdfranklin »

My apologies if the subject line is a bit redundant -- or obnoxious -- but that's what Flare's doing. It's inserting the following tag after every single frappin' <p tag:

xmlns="http://www.w3.org/1999/xhtml"

It's even inserting this tag after some <b tags and some <div tags.

To clarify, I've left off the closing carats here in this post on purpose, to show where the insertion is taking place. What I'm seeing is this:

<div class="note" xmlns=""><b xmlns="http://www.w3.org/1999/xhtml">

or

<p xmlns="http://www.w3.org/1999/xhtml">

What does this mean, and how can I turn it off?

Thanks very much in advance for any assistance.

Regards,

Jerry
DocuWil
Sr. Propeller Head
Posts: 344
Joined: Thu Feb 09, 2006 1:22 am
Location: Netherlands
Contact:

Re: xmlns= xmlns= xmlns= xmlns=....

Post by DocuWil »

Hi Jerry,

Just to let you know.
I looked in some files randomly and I did not find this phenomenon in several of my projects.

I hope that someone is able to help you.
Wil Veenstra

Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: xmlns= xmlns= xmlns= xmlns=....

Post by ChoccieMuffin »

A reply from a very new Flare user. [/disclaimer]

I've just done a quick google on xmlns and it came up with namespaces, which are used when an attribute is used in several different circumstances. (I note, as you probably did, that if you search the Flare help for xmlns or namespace, you get a big fat zilch as a result.)

Take a quick look at http://www.w3schools.com/XML/xml_namespaces.asp to see if that will explain WHY you're getting this, as it looks like there's some kind of conflict with the names of your attributes. Without any further information about your paragraphs I don't think anyone will be able to help much, but it could be a useful starting point for your own investigations. Good luck.
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: xmlns= xmlns= xmlns= xmlns=....

Post by LTinker68 »

There should only be one xmlns declaration and that's at the top of every topic. I have seen a situation where the xmlns declaration was in some tags in the content, but I think that was an imported topic, so I figured it threw them in when it was converting the topic to XHTML (i.e., the thing it does the first time you open an imported topic in Flare). Try creating a new topic from scratch and inserting some paragraphs and see if the behavior continues.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
feitelberg
Propeller Head
Posts: 52
Joined: Tue Aug 07, 2007 6:20 am
Location: Boston, Mass

Re: xmlns= xmlns= xmlns= xmlns=....

Post by feitelberg »

I am seeing this behavior in some projects and not in others.

I will see if importing content is the common element but I don't think so. If anyone has insight on how to stop Flare from adding empty xmlns attributes please post here but I keep removing them and they keep coming back.
zappy0
Propeller Head
Posts: 54
Joined: Fri Mar 25, 2016 2:19 pm

Re: xmlns= xmlns= xmlns= xmlns=....

Post by zappy0 »

The year is now 2025 and I ran into this issue. It's been happening for a few weeks now, but not consistently. It seems xmlns="http://www.w3.org/1999/xhtml" is added to <span> and <img> elements. Is there a solution?
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: xmlns= xmlns= xmlns= xmlns=....

Post by NorthEast »

I haven't seen this problem with the same xmlns reference, but I have seen it for xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd".

Topics should include this xlmns reference in the html tag:

Code: Select all

<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd">
But for some reason, Flare sometimes removes that from the <html> tag, and when it does it will add an xmlns reference to every MadCap: tag in the topic.
To fix this, I copy/paste the xmlns reference back into the html tag, and when I save Flare reformats the topic and removes the additional xlmns references on the MadCap: tags.

So I would check the topic html tag, and insert the standard MadCap xmlns reference if it's missing.
Post Reply