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 375515 - PATCH: allow fullstop in xml tag highlighting
PATCH: allow fullstop in xml tag highlighting
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Yevgen Muntyan
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-15 13:48 UTC by Nek Caw
Modified: 2006-12-25 10:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
regex patch for xml.lang (529 bytes, patch)
2006-11-15 13:50 UTC, Nek Caw
none Details | Review

Description Nek Caw 2006-11-15 13:48:28 UTC
The XML 1.0 specification (section 2.3 and Appendix B) allow the use of a fullstop inside a tag. 

Attached is a patch to allow that in the XML syntax highlighting.
Comment 1 Nek Caw 2006-11-15 13:50:29 UTC
Created attachment 76637 [details] [review]
regex patch for xml.lang
Comment 2 Paolo Maggi 2006-12-11 10:54:27 UTC
Carey: thanks for the patch.

Is the use of a fullstop allowed inside an attribute name?
Comment 3 Paolo Maggi 2006-12-11 11:38:34 UTC
I have committed to CVS HEAD a slightly modified patch. 

2006-12-11  Paolo Maggi  <paolo@gnome.org>

	Fixes bug #375515 – PATCH: allow fullstop in xml tag highlighting
	
	* gtksourceview/language-specs/xml.lang: allow fullstop in XML tags
	and attribute names. Patch by Carey O'Shea <carey@internode.on.net>
Comment 4 Paolo Borelli 2006-12-16 17:18:00 UTC
reopening and reassigning to muntyan on his request. xml.lang 2.0 needs to get this fixed.
Comment 5 Yevgen Muntyan 2006-12-25 10:28:26 UTC
Checked, new engine allows . in tag names.