[ https://issues.apache.org/jira/browse/FOR-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592318#action_12592318 ]
Thorsten Scherler commented on FOR-1079: ---------------------------------------- Normal setup: ... validate-xdocs: [echo] Using these catalog descriptors: forrest.core.webapp=/home/thorsten/src/apache/forrest/trunk/main/webapp/resources/schema/catalog.xcat forrest.plugins-dir=/home/thorsten/src/apache/forrest/trunk/build/plugins/catalog.xcat catalog=/home/thorsten/src/sadesi/boja2/trunk/exporter/src/documentation/resources/schema/catalog.xcat Warning: Reference fcatalog has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. dropping /home/thorsten/src/sadesi/boja2/trunk/${env.CLASSPATH} from path as it doesn't exist [xmlvalidate] Using SAX2 reader org.apache.xerces.parsers.SAXParser [xmlvalidate] Validating index.xml... Apache resolver library not found, internal resolver will be used Warning: XML resolver not found; external catalogs will be ignored dropping /home/thorsten/src/sadesi/boja2/trunk/${env.CLASSPATH} from path as it doesn't exist [xmlvalidate] Using SAX2 reader org.apache.xerces.parsers.SAXParser [xmlvalidate] Validating tabs.xml... [xmlvalidate] 2 file(s) have been successfully validated. [echo] ...validated xdocs ngrep dtd: T 1.2.3.4:45069 -> 192.87.106.226:80 [AP] GET /dtd/document-v20.dtd HTTP/1.1..User-Agent: Java/1.5.0_11..Host: forrest.apache.org..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2..C onnection: keep-alive.... #### T 192.87.106.226:80 -> 1.2.3.4:45069 [A] se with the Apache projects.. It is an XML-compliant DTD and it's maintained by the Apache Forrest. project... Any new elements must be in accordance with XHTML2.. . The v2.x series of this DTD is an evolution of the 1.x series, incorporating. lessons learned. Various new much-needed elements have been added, some unused. features removed, and some renamed (link -> a). 2.x is not. backwards-compatible, although a stylesheet can probably do the conversion...TYPICAL INVOCATION:.. <!DOCTYPE document PUBLIC. "-//APACHE//DTD Documentation V2.0//EN". "document-vxy.dtd">.. where.. x := major version. y := minor version..NOTES:. Many of the design patterns used in this DTD were take from the. W3C XML Specification DTD edited by Eve Maler <[EMAIL PROTECTED]>... Where possible, great care has been used to reuse HTML tag. names to reduce learning efforts and to allow HTML editor s to be. used for complex authorings like tables and lists...EXTENSIBILITY:. This DTD includes several empty placeholders that can be used to. extend it. These placeholders are implemented with empty entities. Here. is the list of those empty entities and what they are used for:.. - local.inline: this entity should contain extended definitions of. elements that can be used 'inline', or directly inside. the c ontent. An example for this entity could be.. <!ENTITY % local.inline ## T 192.87.106.226:80 -> 1.2.3.4:45069 [A] HTTP/1.0 200 OK..Date: Thu, 24 Apr 2008 06:18:00 GMT..Server: Apache/2.2.8 (Unix)..Last-Modified: Mon, 05 Jun 2006 05:07:09 GMT..ETag: "5e7f9-11cb-41573 1b393940"..Accept-Ranges: bytes..Content-Length: 4555..Content-Type: application/xml-dtd..Age: 96617..X-Cache: HIT from proxycache07.gestion.nisa..X-Cac he-Lookup: HIT from proxycache07.gestion.nisa:3128..Via: 1.0 proxycache07.gestion.nisa:3128 (squid/2.6.STABLE13)..Connection: close....<!--. Licensed t o the Apache Software Foundation (ASF) under one or more. contributor license agreements. See the NOTICE file distributed with. this work for additio nal information regarding copyright ownership.. The ASF licenses this file to You under the Apache License, Version 2.0. (the "License"); you may not use this file except in compliance with. the License. You may obtain a copy of the License at.. http://www.apache.org/licenses/LICENSE-2.0.. Unl ess required by applicable law or agreed to in writing, software. distributed under the License is distributed on an "AS IS" BASIS,. WITHOUT WARRANTIE S OR CONDITIONS OF ANY KIND, either express or implied.. See the License for the specific language governing permissions and. limitations under the Li cense..-->.<!-- ===================================================================.. Apache Documentation DTD (Version 2.0)..PURPOSE:. This DTD wa s developed to create a simple yet powerful document. type for software documentation for u ######### T 1.2.3.4:45070 -> 192.87.106.226:80 [AP] GET /dtd/common-charents-v10.mod HTTP/1.1..User-Agent: Java/1.5.0_11..Host: forrest.apache.org..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2..Connection: keep-alive.... ###### T 192.87.106.226:80 -> 1.2.3.4:45070 [A] HTTP/1.0 200 OK..Date: Thu, 24 Apr 2008 06:18:01 GMT..Server: Apache/2.2.8 (Unix)..Last-Modified: Mon, 05 Jun 2006 05:07:09 GMT..ETag: "5e7f0-a56-415731 b393940"..Accept-Ranges: bytes..Content-Length: 2646..Content-Type: application/xml-dtd..Age: 96616..X-Cache: HIT from proxycache07.gestion.nisa..X-Cach e-Lookup: HIT from proxycache07.gestion.nisa:3128..Via: 1.0 proxycache07.gestion.nisa:3128 (squid/2.6.STABLE13)..Connection: close....<!--. Licensed to the Apache Software Foundation (ASF) under one or more. contributor license agreements. See the NOTICE file distributed with. this work for addition al information regarding copyright ownership.. The ASF licenses this file to You under the Apache License, Version 2.0. (the "License"); you may not u se this file except in compliance with. the License. You may obtain a copy of the License at.. http://www.apache.org/licenses/LICENSE-2.0.. Unle ss required by applicable law or agreed to in writing, software. distributed under the License is distributed on an "AS IS" BASIS,. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.. See the License for the specific language governing permissions and. limitations under the Lic ense..-->.<!-- ===================================================================.. Apache Common Character Entity Sets (Version 1.0)..PURPOSE:. C ommon elements across all DTDs...TYPICAL INVOCATION:.. <!ENTITY % common-charents PUBLIC. ################################################################################### T 192.87.106.226:80 -> 1.2.3.4:45076 [AP] "<strong>Apache Forrest</strong>">..<!-- Configure some sitemap components -->.<!ENTITY generator-html-jtidy-properties "WEB-INF/jtidy.properties">.<!EN TITY serializer-html-encoding "UTF-8">.<!ENTITY serializer-html-doctype-public "-//W3C//DTD HTML 4.01 Transitional//EN">.<!ENTITY serializer-html-doctyp e-system "http://www.w3.org/TR/html4/loose.dtd">..<!ENTITY serializer-xhtml-encoding "UTF-8">.<!ENTITY serializer-xhtml-doctype-public "-//W3C//DTD XHTM L 1.0 Strict//EN">.<!ENTITY serializer-xhtml-doctype-system "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">. ######### T 1.2.3.4:45077 -> 192.87.106.226:80 [AP] GET /dtd/document-v20.mod HTTP/1.1..User-Agent: Java/1.5.0_11..Host: forrest.apache.org..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2..C onnection: keep-alive.... #### T 192.87.106.226:80 -> 1.2.3.4:45077 [A] HTTP/1.0 200 OK..Date: Thu, 24 Apr 2008 06:18:02 GMT..Server: Apache/2.2.8 (Unix)..Last-Modified: Thu, 15 Nov 2007 13:07:14 GMT..ETag: "5e7fa-39d9-43ef7 5c58a480"..Accept-Ranges: bytes..Content-Length: 14809..Content-Type: application/xml-dtd..Age: 96615..X-Cache: HIT from proxycache07.gestion.nisa..X-Ca che-Lookup: HIT from proxycache07.gestion.nisa:3128..Via: 1.0 proxycache07.gestion.nisa:3128 (squid/2.6.STABLE13)..Connection: close....<!--. Licensed to the Apache Software Foundation (ASF) under one or more. contributor license agreements. See the NOTICE file distributed with. this work for additi onal information regarding copyright ownership.. The ASF licenses this file to You under the Apache License, Version 2.0. (the "License"); you may not use this file except in compliance with. the License. You may obtain a copy of the License at.. http://www.apache.org/licenses/LICENSE-2.0.. Un less required by applicable law or agreed to in writing, software. distributed under the License is distributed on an "AS IS" BASIS,. WITHOUT WARRANTI ES OR CONDITIONS OF ANY KIND, either express or implied.. See the License for the specific language governing permissions and. limitations under the L icense..-->.<!-- ===================================================================.. Apache Common Documentation elements (Version 2.0)..PURPOSE:. This DTD was developed to create a simple yet powerful document. type for software docume ############################## T 1.2.3.4:45078 -> 192.87.106.226:80 [AP] GET /dtd/tab-cocoon-v11.dtd HTTP/1.1..User-Agent: Java/1.5.0_11..Host: forrest.apache.org..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2. .Connection: keep-alive.... #### T 192.87.106.226:80 -> 1.2.3.4:45078 [AP] ors that a certain subsection of the URI space is being browsed...TYPICAL INVOCATION:.. <!DOCTYPE tab PUBLIC. "-//APACHE//DTD Cocoon Documentatio n Tab Vx.yz//EN". "tab-cocoon-vxyz.dtd">.. where . . x := major version. y := minor version. z := status identifier (optional). .N OTES:. .FIXME:. - find the proper DTD for top.xml..CHANGE HISTORY:. 20020506 Initial version. (BVK). 20021102 Revised to allow either @dir or @href (JT). 20030521 Add @id (JT). 20031223 Allow nested tags (RDG). .==================================================================== -->.<!ELEMENT tabs (tab)*>.<!ELEMENT tab (tab)*>.<!ATTLIST tabs. software CDATA #REQUIRED. title CDATA #REQUIRED. copyright CDATA #REQUIRED. xmlns:xlink CDATA #IM PLIED.>.<!ATTLIST tab. id CDATA #IMPLIED. label CDATA #REQUIRED. dir CDATA #IMPLIED. indexfile CDATA #IMPLIED. href CDATA #IMPLIED. type (visible | hidden) "visible".>.<!-- =============================================================== -->.<!-- End of DTD -->.<!-- ================================ =============================== -->. ## T 192.87.106.226:80 -> 1.2.3.4:45078 [A] HTTP/1.0 200 OK..Date: Thu, 24 Apr 2008 06:18:02 GMT..Server: Apache/2.2.8 (Unix)..Last-Modified: Mon, 05 Jun 2006 05:07:09 GMT..ETag: "5e814-84a-415731 b393940"..Accept-Ranges: bytes..Content-Length: 2122..Content-Type: application/xml-dtd..Age: 96615..X-Cache: HIT from proxycache07.gestion.nisa..X-Cach e-Lookup: HIT from proxycache07.gestion.nisa:3128..Via: 1.0 proxycache07.gestion.nisa:3128 (squid/2.6.STABLE13)..Connection: close....<!--. Licensed to the Apache Software Foundation (ASF) under one or more. contributor license agreements. See the NOTICE file distributed with. this work for addition al information regarding copyright ownership.. The ASF licenses this file to You under the Apache License, Version 2.0. (the "License"); you may not u se this file except in compliance with. the License. You may obtain a copy of the License at.. http://www.apache.org/licenses/LICENSE-2.0.. Unle ss required by applicable law or agreed to in writing, software. distributed under the License is distributed on an "AS IS" BASIS,. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.. See the License for the specific language governing permissions and. limitations under the Lic ense..-->.<!-- ===================================================================. . Apache Cocoon Documentation Tab DTD (Version 1.0)..PURPOSE :.This DTD defines the */tab.xml documentation configuration files. Tabs are.visual indicat ####### T 1.2.3.4:45079 -> 192.87.106.226:80 [AP] GET /dtd/skinconfig-v07-1.dtd HTTP/1.1..User-Agent: Java/1.5.0_11..Host: forrest.apache.org..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=. 2..Connection: keep-alive.... ## T 192.87.106.226:80 -> 1.2.3.4:45079 [A] .. <!DOCTYPE skinconfig PUBLIC. "-//APACHE//DTD Skin Configuration Vx.y//EN". "skinconf-vxy.dtd">. where. x := major version. y := m inor version..NOTES:. .==================================================================== -->..<!-- Include the Common ISO Character Entity Sets -->.< !ENTITY % common-charents PUBLIC. "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN". "common-charents-v10.mod">.%common-charents;.. <!ENTIT Y % links.att 'name CDATA #REQUIRED . href CDATA #REQUIRED' > .. <!ELEMENT skinconfig (search?, disable-print-link?, disable-pd f-link?,. disable-pod-link?, disable-txt-link?,. disable-xml-link?, disable-external-link-image?, . disable-compliance-links?, obfuscate-mail-link s?, obfuscate-mail-value?, . disable-font-script?, . project-name?, project-description?, project-url?, project-logo,. group-name?, group-descript ion?, group-url?, group-logo?,. host-url?, host-logo?, favicon-url?,. disable-copyright-footer?, year?, vendor?, copyright-link?,. trail?, toc?, h eadings?, feedback?, motd?,. extra-css?, colors?, pdf?, credits?)>.. <!ELEMENT search EMPTY>. <!ATTLIST search name CDATA #IMPLIED. domain CDATA #IMPLIED. provider CDATA #IMPLIED. box-location CDATA #IMPLIED>. <!ELEMENT disable-print-link (#PCDATA)>. <!ELEMENT disable-pdf-link (#PCDATA)>. <!ELEMENT disable-xml-link (#PCDATA)>. ## T 192.87.106.226:80 -> 1.2.3.4:45079 [A] HTTP/1.0 200 OK..Date: Thu, 24 Apr 2008 06:18:02 GMT..Server: Apache/2.2.8 (Unix)..Last-Modified: Mon, 05 Jun 2006 05:07:09 GMT..ETag: "5e80d-1683-41573 1b393940"..Accept-Ranges: bytes..Content-Length: 5763..Content-Type: application/xml-dtd..Age: 96616..X-Cache: HIT from proxycache07.gestion.nisa..X-Cac he-Lookup: HIT from proxycache07.gestion.nisa:3128..Via: 1.0 proxycache07.gestion.nisa:3128 (squid/2.6.STABLE13)..Connection: close....<!--. Licensed t o the Apache Software Foundation (ASF) under one or more. contributor license agreements. See the NOTICE file distributed with. this work for additio nal information regarding copyright ownership.. The ASF licenses this file to You under the Apache License, Version 2.0. (the "License"); you may not use this file except in compliance with. the License. You may obtain a copy of the License at.. http://www.apache.org/licenses/LICENSE-2.0.. Unl ess required by applicable law or agreed to in writing, software. distributed under the License is distributed on an "AS IS" BASIS,. WITHOUT WARRANTIE S OR CONDITIONS OF ANY KIND, either express or implied.. See the License for the specific language governing permissions and. limitations under the Li cense..-->.<!-- ===================================================================.. Forrest Skinconf DTD (Version 0.7)..PURPOSE:. This DTD was de veloped to create a simple Skin configuration . for the Forrest skins...TYPICAL INVOCATION: ########## T 1.2.3.4:45080 -> 192.87.106.226:80 [AP] GET /dtd/common-charents-v10.mod HTTP/1.1..User-Agent: Java/1.5.0_11..Host: forrest.apache.org..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2..Connection: keep-alive.... ###### T 192.87.106.226:80 -> 1.2.3.4:45080 [A] HTTP/1.0 200 OK..Date: Thu, 24 Apr 2008 06:18:01 GMT..Server: Apache/2.2.8 (Unix)..Last-Modified: Mon, 05 Jun 2006 05:07:09 GMT..ETag: "5e7f0-a56-415731 b393940"..Accept-Ranges: bytes..Content-Length: 2646..Content-Type: application/xml-dtd..Age: 96617..X-Cache: HIT from proxycache07.gestion.nisa..X-Cach e-Lookup: HIT from proxycache07.gestion.nisa:3128..Via: 1.0 proxycache07.gestion.nisa:3128 (squid/2.6.STABLE13)..Connection: close....<!--. Licensed to the Apache Software Foundation (ASF) under one or more. contributor license agreements. See the NOTICE file distributed with. this work for addition al information regarding copyright ownership.. The ASF licenses this file to You under the Apache License, Version 2.0. (the "License"); you may not u se this file except in compliance with. the License. You may obtain a copy of the License at.. http://www.apache.org/licenses/LICENSE-2.0.. Unle ss required by applicable law or agreed to in writing, software. distributed under the License is distributed on an "AS IS" BASIS,. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.. See the License for the specific language governing permissions and. limitations under the Lic ense..-->.<!-- ===================================================================.. Apache Common Character Entity Sets (Version 1.0)..PURPOSE:. C ommon elements across all DTDs...TYPICAL INVOCATION:.. <!ENTITY % common-charents PUBLIC. ################################################################################### T 192.87.106.226:80 -> 1.2.3.4:45086 [AP] "<strong>Apache Forrest</strong>">..<!-- Configure some sitemap components -->.<!ENTITY generator-html-jtidy-properties "WEB-INF/jtidy.properties">.<!EN TITY serializer-html-encoding "UTF-8">.<!ENTITY serializer-html-doctype-public "-//W3C//DTD HTML 4.01 Transitional//EN">.<!ENTITY serializer-html-doctyp e-system "http://www.w3.org/TR/html4/loose.dtd">..<!ENTITY serializer-xhtml-encoding "UTF-8">.<!ENTITY serializer-xhtml-doctype-public "-//W3C//DTD XHTM L 1.0 Strict//EN">.<!ENTITY serializer-xhtml-doctype-system "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">. > validate-xdocs fails if no DNS server is configured on the underlying OS > ------------------------------------------------------------------------ > > Key: FOR-1079 > URL: https://issues.apache.org/jira/browse/FOR-1079 > Project: Forrest > Issue Type: Bug > Components: XML grammars & validation > Affects Versions: 0.9-dev > Reporter: Thorsten Scherler > Attachments: 1079.exception.txt > > > If you remove the DNS server entries from your OS forrest cannot validate > anymore. > sudo vi /etc/resolv.conf > -> comment all DNS > try "forrest" as usual on your project, it will fail like: > ... > forrest/trunk/main/targets/validate.xml:136: Could not validate document > /home/thorsten/src/sadesi/boja2/trunk/exporter/src/documentation/content/xdocs/index.xml -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.