praefix ohne uri ist verboten

This commit is contained in:
dlichteblau
2005-12-04 22:22:29 +00:00
parent 7a9568b320
commit 31b32fc50e
2 changed files with 18 additions and 28 deletions

View File

@ -284,6 +284,8 @@
(cxml:well-formedness-violation (c)
(dom-error :NAMESPACE_ERR "~A" c)))
(when prefix
(unless uri
(dom-error :NAMESPACE_ERR "prefix specified but no namespace URI"))
(when (and (rod= prefix #"xml")
(not (rod= uri #"http://www.w3.org/XML/1998/namespace")))
(dom-error :NAMESPACE_ERR "invalid uri for prefix `xml'"))