You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Tom Klaasen <To...@the-ecorp.com> on 2000/10/11 15:23:14 UTC
build docs
Anybody tried to build the docs lately for cocoon2?
I use the cvs version (just updated), and I get a weird error from
XercesParser (see below). I've looked at the sitemap.xml file, and the
attribute "anchor" seems to be defined just fine.
Anyone has an explanation for this?
thanks
tomK
E:\CVS\xml-cocoon>build docs
Buildfile: build.xml
init:
------------------- Apache Cocoon 2.0a3 [1999-2000] ----------------
prepare-docs:
[replace] Replacing ./xdocs/dtd/ --> dtd/
[replace] Replacing ./xdocs/dtd/ --> dtd/
docs:
[StyleBook] Overriding targetDirectory="./build/cocoon/docs" (Old=".")
[StyleBook] Project URL: "sbk:/sources/book.xml"
[BasicEngine] Initializing
[Loader] Parsing Project file
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/book2project.xsl"
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/directory2project.xsl"
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/scan4resources.xsl"
[CachingParser] Serving cached document
"sbk:/style/stylesheets/scan4resources.xsl" (1)
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/scan4resources.xsl"
[CachingParser] Serving cached document
"sbk:/style/stylesheets/scan4resources.xsl" (2)
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/scan4resources.xsl"
[CachingParser] Serving cached document
"sbk:/style/stylesheets/scan4resources.xsl" (3)
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/scan4resources.xsl"
[CachingParser] Serving cached document
"sbk:/style/stylesheets/scan4resources.xsl" (4)
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/scan4resources.xsl"
[XercesParser] Attribute "anchor" must be declared for element type "jump".
[File: "sbk:/sources/sitemap.xml" Line: 194
Column: 44]
org.apache.stylebook.CreationException: SAXException caught while parsing
at
org.apache.stylebook.parsers.XercesParser.parse(XercesParser.java:55)
at
org.apache.stylebook.parsers.CachingParser.parse(CachingParser.java:92)
at
org.apache.stylebook.parsers.AbstractParser.parse(AbstractParser.java:28)
at
org.apache.stylebook.producers.ParserProducer.produce(ParserProducer.java:26
)
at org.apache.stylebook.Project.processEntry(Project.java:110)
at org.apache.stylebook.Project.processNodeList(Project.java:54)
at org.apache.stylebook.Project.<init>(Project.java:42)
at org.apache.stylebook.Loader.load(Loader.java:57)
at org.apache.stylebook.StyleBook.getProject(StyleBook.java:124)
at org.apache.stylebook.StyleBook.main(StyleBook.java:84)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:97)
at org.apache.tools.ant.taskdefs.Java.run(Java.java:236)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:122)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:89)
at org.apache.tools.ant.Target.execute(Target.java:142)
at org.apache.tools.ant.Project.runTarget(Project.java:808)
at org.apache.tools.ant.Project.executeTarget(Project.java:533)
at org.apache.tools.ant.Project.executeTargets(Project.java:507)
at org.apache.tools.ant.Main.runBuild(Main.java:314)
at org.apache.tools.ant.Main.main(Main.java:127)
[StyleBook] Caught org.apache.stylebook.LoadingException: Processing Entry
(SAXException caught while parsing)
[StyleBook] Error creating project
E:\CVS\xml-cocoon>