A few minutes ago i got CVS HEAD and conducted an
independent validation run of all xdocs/*.xml
The normal cocoon build "printer-docs" shows no validation
errors.

However, there were some validation errors reported (for three
xdocs) by the SP/nsgmls parser ...
... the <jump> element has no attribute "anchor"

I now see why the ant build does not report the validation errors.
Each of the three offending documents have the Document Type
Declaration commented-out to workaround the XML errors.
However, nsgmls uses an entity catalog to find the relevant DTD,
so that workaround has no effect.

(The ant build errors listed in the orginal email posting below,
were probably because the users were caught between patches
which exposed and then hid the Document Type Declaration.)

I will send xdocs patches separately. The <jump> element
is incorrectly used in those 3 docs. Note that it is only used in
those docs. Changing it to the <link> element will fix it.

David Crossley

----------------
Marcelo F. Ochoa <[EMAIL PROTECTED]> wrote:
>
>jeff wrote:
>
>>>From a clean CVS:
>>
>>jeff@expresso:~/apache/xml/xml-cocoon2$ ./build.sh docs
>>
>>Apache Cocoon 2 Build System
>>----------------------------
>>Buildfile: build.xml
>>
>>init:
>>------------------- Apache Cocoon 2.1-dev [1999-2001] ----------------
>>
>>.. chug chug..
>>[Xalan2Processor] Applying XSL sheet 
>"sbk:/style/stylesheets/scan4resources.xsl"
>>[Xalan2Processor] Applying XSL sheet 
>"sbk:/style/stylesheets/scan4resources.xsl"
>>[XercesParser] Attribute "anchor" must be declared for element type "jump". 
>[File: "sbk:/sources/uc2.xml" Line: 22 Column: 40]
>>org.apache.stylebook.CreationException: SAXException caught while parsing
>>        at > 
>>org.apache.stylebook.parsers.XercesParser.parse(XercesParser.java:55)
>>
>
> I don't know why this error is throw in uc2.xml file, but there are a 
>lot of files on xdocs directory with <jump anchor="id"/> tags, for 
>example xsp-internals.xml.
>It seem to be a problem of Xerces because with an Oracle XML parser v2 
>it is validated OK acording to document-v10.dtd.
----------------

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

Reply via email to