httpd-docs mailing list archives

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

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:

./ validate-xml
Buildfile: build.xml

[xmlvalidate] $HOME/httpd-trunk/docs/manual/mod/event.xml:336:9: The
content of element type "usage" must match

$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 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).



View raw message