Hi Darby,

There is a problem for some documents. Here, I use one example:

In file Zend_Currency-Useage.xml, line 11 to line 36

It is a <example> tag and there is also a <note> tag inside.

When I issued command like:

make XMLFILE=Zend_Currency-Useage.xml check1

I would get

--------------------------------------------------------------------------------------------------------
_temp_Zend_Currency-Useage.xml:54: element example: validity error : Element 
example content does not follow the DTD, expecting (blockinfo? , (title , 
titleabbrev?) , (calloutlist | glosslist | bibliolist | itemizedlist | 
orderedlist | segmentedlist | simplelist | variablelist | literallayout | 
programlisting | programlistingco | screen | screenco | screenshot | synopsis | 
cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis | 
constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara | para | 
simpara | address | blockquote | graphic | graphicco | mediaobject | 
mediaobjectco | informalequation | informalexample | informalfigure | 
informaltable | indexterm | beginpage | procedure)+), got (title para 
programlisting note )
    </example>
------------------------------------------------------------------------------------------------------------------

This means that this document(Zend_Currency-Useage.xml) did not follow the DTD 
rule, 

When I moved <note> tag out of the <example> tag, this error message had gone.

So, there will be two solutions 

1) modify the DTD rule to allow <note> tag reside in <example> tag
2) move all <note> tag out from <example> tag in all the documents involved.

I prefer 1), but I could not find where to modify the rule.

Could you help me to find it? or you have another solution?

Thanks.

Jason.







       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Reply via email to