Implement %HTML.Attr.Name.UseCDATA which relaxes name validation rules.
[htmlpurifier.git] / library / HTMLPurifier / ConfigSchema / schema / HTML.Attr.Name.UseCDATA.txt
blob151fb7b8264b3959cd9029605ad5bacdf9d07c7d
1 HTML.Attr.Name.UseCDATA
2 TYPE: bool
3 DEFAULT: false
4 VERSION: 4.0.0
5 --DESCRIPTION--
6 The W3C specification DTD defines the name attribute to be CDATA, not ID, due
7 to limitations of DTD.  In certain documents, this relaxed behavior is desired,
8 whether it is to specify duplicate names, or to specify names that would be
9 illegal IDs (for example, names that begin with a digit.) Set this configuration
10 directive to true to use the relaxed parsing rules.
11 --# vim: et sw=4 sts=4