Erik Abele wrote:
> Hi!
>
> While validating the xml-docs I discovered a problem in env.xml: it seems
> that a slash isn't allowed in ID-attributes.
>
> The parser reports the following error: env.xml:275:39: Attribute value
> "gzip-only-text/html" of type ID must be a name.
>
> from env.xml:
> <section id="gzip-only-text/html">
>
> Removing the slash solves the validation error, but this can't be the
> solution. If anyone knows how to fix this, I would be much obliged.
>
> Erik


Gotta change the DTD or the id. Patch attached.

Shane

Index: common.dtd
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/manual/style/common.dtd,v
retrieving revision 1.3
diff -u -r1.3 common.dtd
--- common.dtd  26 Jul 2002 17:42:02 -0000      1.3
+++ common.dtd  23 Aug 2002 22:11:13 -0000
@@ -25,7 +25,7 @@
      unique id. A section must have a title and some text. It may have
      subsections and a list of related modules and directives -->
 <!ELEMENT section (title, related?, (section | %blocktags;)*)>
-<!ATTLIST section id ID #IMPLIED>
+<!ATTLIST section id CDATA #IMPLIED>
 
 <!-- the lists of related modules and/or related directives -->
 <!ELEMENT related (modulelist | directivelist)+>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to