Does anyone know whether XMLValidate() handles declared entities
correctly?  I have what I think is a proper use and yet it's being
returned as invalid with the following error:

The attribute type is required in the declaration of attribute
""dialog"" for element ""icon"".

The DTD includes:
<!ENTITY % perms "(READ|WRITE|ADMIN)">

.... snip ...

<!ATTLIST icon
        class           CDATA                           #REQUIRED
        src                     CDATA                           #REQUIRED
        state           (NORMAL|EXPANDED)       #IMPLIED
        label           CDATA                           #IMPLIED
        group           CDATA                           #IMPLIED
        module          CDATA                           #IMPLIED
        perms           %perms;                 #IMPLIED
        parentperms     %perms;                 #IMPLIED
        checkmod        CDATA                           #IMPLIED
        priority        CDATA                           #IMPLIED
        description     CDATA                           #IMPLIED
>

Am I applying it wrong or is CF not handling it properly?  If I
replace "%perms;" with "(READ|WRITE|ADMIN)" it works exactly as
expected.

TIA.

-- 

Rob Wilkerson

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253490
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to