Hi,
 
> > > External entities should be working in the next version. I'm not so sure
> > > about parameter entities... if anyone has any experience with handling
> > > them using expat (non-test version), I'm interested.
> >
> > If global parameters are what you mean, the parameter entities do seem to
> > work with Sablotron. (Just passing a reference to a list of them) I Haven't
> > used them much, yet though.
>
> No, I meant the following:
>
> <!-- declare the parameter entity "ISOLat2"... -->
> <!ENTITY % ISOLat2
>          SYSTEM "http://www.xml.com/iso/isolat2-xml.entities" >
> <!-- ... now reference it. -->
> %ISOLat2;
>
> (example taken from the XML spec)
>
 
Does someone use this syntax with Sablotron 0.44?
 
With Sablotron 0.44 I have no error message but the entity is not displayed.
 
When I use this syntax in my xml file :   
    <!ENTITY alpha "&#x03B2;"> 
    entity is displayed.
 
When I use this syntax in my xml file :   
    <!DOCTYPE DATA [
    <!ENTITY % entite SYSTEM "Rep-Def.ent">
    %entite;
    ]>
   
    where Rep-Def.ent is like that :
        <!ENTITY alpha "&#x03B2;">
 
    entity is not displayed.
 
 
Thanks for any help.
--
Dominique Lambert

Reply via email to