After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650667 - Wrong syntax highlighting for umlauts in XML mode
Wrong syntax highlighting for umlauts in XML mode
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-20 12:52 UTC by Pedro Villavicencio
Modified: 2013-09-26 16:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
xml.lang: fix prefix and name regexes (1.22 KB, patch)
2013-09-24 17:17 UTC, Sébastien Wilmet
none Details | Review

Description Pedro Villavicencio 2011-05-20 12:52:05 UTC
this report has been filed here:

https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/459227

"When switch to XML mode and edit an xml file which has german umlauts (ä for example) in an attribute name. Instead of having only two letters (from the screenshot) highlighted, there are now all letters in a word with umlauts (üöä) highlighted as incorrect

<Seitenformat breite="150mm" höhe="200mm" />"

"

https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/459227/+attachment/875902/+files/Bildschirmfoto%202009-10-23%20um%2019.03.41.png
Comment 1 Sébastien Wilmet 2013-09-24 17:17:25 UTC
Created attachment 255645 [details] [review]
xml.lang: fix prefix and name regexes

a-zA-Z doesn't include special characters, like ö, ß, etc.
Use the [:alpha:] and [:alnum:] character classes instead.
Comment 2 Sébastien Wilmet 2013-09-26 16:07:24 UTC
Commit pushed. It will be available for GtkSourceView 3.10.1.