]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix regex for href to prevent fragids, not require a hash!
authorNorman Walsh <ndw@nwalsh.com>
Sat, 2 Jul 2005 16:42:58 +0000 (16:42 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sat, 2 Jul 2005 16:42:58 +0000 (16:42 +0000)
docbook/relaxng/docbook/src/xinclude.rnc

index 936cbd13f9e425fc0d480b46b7e75fb85882821d..fd1c71944bf6aeef10f7c2c9df7e118acb34b896 100644 (file)
@@ -26,7 +26,7 @@ db.all.inlines |= db.xi.include
 div {
 
    db.xi.include.attlist =
-     attribute href { xsd:anyURI { pattern = "^[#]+" } }?,
+     attribute href { xsd:anyURI { pattern = "[^#]+" } }?,
      [ a:defaultValue="xml" ] attribute parse { "xml" | "text" }?,
      attribute xpointer { text }?,
      attribute encoding { text }?,