mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
Revamp configuration backend.
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
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
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Alias 'Ns.Innocent' in aliases in directive 'Ns.Dir' collides with another directive
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Innocent
|
||||
DESCRIPTION: Innocent directive
|
||||
TYPE: int
|
||||
|
@@ -1,10 +0,0 @@
|
||||
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
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Value 3 in allowed in directive 'Ns.Dir' must be a string
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Generic namespace.
|
||||
----
|
||||
ID: Ns.Dir
|
||||
TYPE: string
|
||||
DESCRIPTION: Description
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Allowed in directive 'Ns.Dir' must not be empty
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Generic namespace.
|
||||
----
|
||||
ID: Ns.Dir
|
||||
TYPE: string
|
||||
DESCRIPTION: Description
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Default in directive 'Ns.Dir' must be an allowed value
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
|
@@ -1,6 +1,3 @@
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string/null
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Expected type string, got integer in DEFAULT in directive hash 'Ns.Dir'
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Description in directive 'Ns.Dir' must not be empty
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Our namespace.
|
||||
----
|
||||
Ns.Dir
|
||||
TYPE: int
|
||||
DEFAULT: 0
|
||||
|
@@ -1,9 +0,0 @@
|
||||
ERROR: Directive in id 'Ns.+' in directive 'Ns.+' must be alphanumeric
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Generic namespace.
|
||||
----
|
||||
ID: Ns.+
|
||||
TYPE: int
|
||||
DESCRIPTION: Description
|
||||
DEFAULT: 0
|
@@ -1,9 +0,0 @@
|
||||
ERROR: Directive in id 'Ns.' in directive 'Ns.' must not be empty
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Our namespace
|
||||
----
|
||||
ID: Ns.
|
||||
TYPE: int
|
||||
DESCRIPTION: Description.
|
||||
DEFAULT: 0
|
@@ -1,6 +0,0 @@
|
||||
ERROR: Namespace in id 'Rd.Dir' in directive 'Rd.Dir' does not exist
|
||||
----
|
||||
ID: Rd.Dir
|
||||
TYPE: int
|
||||
DESCRIPTION: Description
|
||||
DEFAULT: 0
|
@@ -0,0 +1,3 @@
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: TYPE in directive hash 'Ns.Dir' not defined
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Notice that TYPE is missing
|
||||
DEFAULT: 0
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Invalid type 'foobar' in DEFAULT in directive hash 'Ns.Dir'
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: foobar
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Type in directive 'Ns.Dir' must be a string type when used with allowed or value aliases
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: int
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Type in directive 'Ns.Dir' must be a string type when used with allowed or value aliases
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: int
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Alias 3 in valueAliases in directive 'Ns.Dir' must be a string
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Alias 'b' in valueAliases in directive 'Ns.Dir' must not be an allowed value
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Alias 'bar' in valueAliases in directive 'Ns.Dir' must not be an alias to itself
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Alias 'c' in valueAliases in directive 'Ns.Dir' must be an alias to an allowed value
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
|
@@ -1,8 +1,5 @@
|
||||
ERROR: Alias target 3 from alias 'b' in valueAliases in directive 'Ns.Dir' must be a string
|
||||
----
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
|
Reference in New Issue
Block a user