mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
[3.1.0] Feature-parity achieved for validator! Implement alias checking.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1648 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
ERROR: Alias 'Ns.BothWantThisName' in aliases in directive 'Ns.Dir2' collides with alias for directive 'Ns.Dir'
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: int
|
||||
DEFAULT: 3
|
||||
ALIASES: Ns.BothWantThisName
|
||||
----
|
||||
Ns.Dir2
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALIASES: Ns.BothWantThisName
|
@@ -0,0 +1,15 @@
|
||||
ERROR: Alias 'Ns.Innocent' in aliases in directive 'Ns.Dir' collides with another directive
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Innocent
|
||||
DESCRIPTION: Innocent directive
|
||||
TYPE: int
|
||||
DEFAULT: 3
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALIASES: Ns.Innocent
|
@@ -0,0 +1,10 @@
|
||||
ERROR: Directive in id 'Ns.R&D' in aliases in directive 'Ns.Dir' must be alphanumeric
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALIASES: Ns.R&D
|
@@ -0,0 +1,10 @@
|
||||
ERROR: Default in directive 'Ns.Dir' must be an allowed value
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALLOWED: 'b'
|
Reference in New Issue
Block a user