I'm currently moving from older XML4C2.3.1 to new Xerces.
The code was significatly changed since that, so that is why I'm going to
post some questions related to this task.
-------

What happened to "Unknown" model type of ElementDecl? (that was presented in
XML4C2.3.1) ?

:xerces\src\validators\DTD\DTDElementDecl.hpp contains:

    enum ModelTypes
    {
        Empty
        , Any
        , Mixed
        , Children

        , ModelTypes_Count
    };

Does it mean that element never has Unknown model?
What is the model type of element B in the following DTD ?

<!ELEMENT A (B)>

P.S.
As a workaround I use ModelTypes_Count instead of older Unknown, but I do
not think that this is a good idea.

----------------------------------------------
Peter A. Volchek
Software Engineer
Metis International, Inc.
[EMAIL PROTECTED]



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

Reply via email to