Bug 271071 - [PATCH] Upstream changes to Wesnoth Markup Language 1.9.x syntax
Summary: [PATCH] Upstream changes to Wesnoth Markup Language 1.9.x syntax
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: SVN
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-16 02:01 UTC by Iris Morelle
Modified: 2011-04-16 13:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch with the updates (2.74 KB, patch)
2011-04-16 02:04 UTC, Iris Morelle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iris Morelle 2011-04-16 02:01:56 UTC
Version:           SVN (using KDE 4.4.5) 
OS:                Linux

The Markup/Wesnoth Markup Language (wml.xml) syntax highlighting schema file in Kate's Git repository at kde.org needs to be updated to account for a few syntax additions in the corresponding application, Battle for Wesnoth 1.9.5 and later.

I am attaching a Git patch including the required changes.

While updating, I noticed that wml.xml wasn't validating against the DTD, so I took the opportunity to fix these two errors as well:

> shadowm@reicore:~/src/kate$ xmllint --valid part/syntax/data/wml.xml -o /dev/null
> part/syntax/data/wml.xml:49: element language: validity error : Value "yes" for attribute casesensitive of language is not among the enumerated set
2006@gmail.com) and Jonathan Schmidt-Dominé (devel@the-user.org)" license="GPL"
>                                                                                ^
> part/syntax/data/wml.xml:190: element highlighting: validity error : Element highlighting content does not follow the DTD, expecting (list* , contexts , itemDatas), got (list list list list contexts itemDatas general )
>     </highlighting>
>                    ^


Reproducible: Always
Comment 1 Iris Morelle 2011-04-16 02:04:39 UTC
Created attachment 59030 [details]
Patch with the updates
Comment 2 Dominik Haumann 2011-04-16 13:16:30 UTC
Git commit 3b39c5fc89863e9eb32d7c720599f51e3b9ad6ba by Dominik Haumann.
Committed on 16/04/2011 at 13:22.
Pushed by dhaumann into branch 'master'.

update of Wesnoth Markup Language

BUG: 271071

M  +12   -5    part/syntax/data/wml.xml     

http://commits.kde.org/kate/3b39c5fc89863e9eb32d7c720599f51e3b9ad6ba