On 2/5/2012 2:27 AM, Richard Hamilton wrote:
The limitation is that you can't have a title both inside<info>  and
directly under the same element, so the following is invalid:

<book> <title>...</title> <info><title>...</title></info> ...
</book>

This, however is valid:

<book> <info><title>...</title></info> ... <chapter>
<title>...</title> <info>other info stuff</info> ... </chapter>
</book>


Are you saying that XMLmind complains about the second case above?

Yes, that's what it's doing--it's complaining about the second case above, and singling out the <info> element. Now that I think about it, I guess if the problem had been what I thought (the second structure above was invalid), it would have complained about the <title> elements in the <chapter>s instead, assuming it parses top-down.

That eliminates one explanation; I'll look into others.  Thanks!
--
        Mike Maxwell
        maxw...@umiacs.umd.edu
        "My definition of an interesting universe is
        one that has the capacity to study itself."
        --Stephen Eastmond

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to