httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Toscano <toscano.l...@gmail.com>
Subject Debugging build's validate-xml errors
Date Sat, 13 Feb 2016 17:20:22 GMT
Hello!

I have added some <note>s to the AsyncRequestWorkerFactor directive's usage
section of mod_event but I am getting this error while running the build
validate.xml step:

./build.sh validate-xml
Buildfile: build.xml

validate-xml:
[xmlvalidate] $HOME/httpd-trunk/docs/manual/mod/event.xml:336:9: The
content of element type "usage" must match
"(p|example|note|table|ul|ol|dl|pre|highlight|blockquote)*".

BUILD FAILED
$HOME/httpd-trunk/docs/manual/style/lang-targets.xml:294:
$HOME/httpd-trunk/docs/manual/mod/event.xml is not a valid XML document.

I've attached the patch if anybody wants to take a look. Even if I've read
https://httpd.apache.org/docs-project/docsformat.html I am still a bit
confused about how to debug/fix these kind of things. I haven't found a
good way to check where these rules are defined in the xml files of the
style directory, can anybody give me an hint?

I've tried to remove two of the three <note> blocks and validate-xml works,
but I haven't figure out why (I am probably reading the allowed pattern in
the error message in the wrong way).


Thanks!

Luca

Mime
View raw message