﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13233	HTMLDataProcessor cannot process foo:href attributes	Piotrek Koszuliński	Piotrek Koszuliński	"Try loading the following source into editor with ACF disabled:

{{{
    <svg preserveaspectratio=""xMinYMin meet"" version=""1.1"" viewbox=""0 0 778 873"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink""> 
    <image height=""100%"" width=""100%"" xlink:href=""map.png""></image> 
        <g class=""hover_group"" opacity=""1""> 
            <a xlink:href=""http://www.google.com"">
                <rect fill=""red"" height=""100"" opacity=""0.0"" width=""160"" x=""110"" y=""240""></rect> 
            </a> 
        </g> 
    </svg>
}}}

The `xlink:href` attribute will be broken.

It seems that this regexp is a problem: https://github.com/ckeditor/ckeditor-dev/blob/2fbdbad72248e4b87826319c5e4a5a8e4b86f518/core/htmldataprocessor.js#L771

It allows only hyphens in attributes while colons should be accepted as well:

{{{
protectAttributeRegex = /([\w-:]+)\s*=\s*(?:(?:""[^""]*"")|(?:'[^']*')|(?:[^ ""'>]+))/gi,
}}}

With this regexp the `xlink:href` attribute is correctly preserved."	Bug	closed	Normal	CKEditor 4.4.8	General		fixed		
