![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Parsing of an entity if it appears as an attribute value. [Thread Next] Re: Parsing of an entity if it appears as an attribute value.To: NULL Date: 11/2/2004 9:30:00 PM richard@c... (Richard Tobin) wrote in message news:<cm7r31$123f$1@p...>... > In article <c47eb923.0411012225.2daa6709@p...>, > Vineeth <vineeth.narayanan@g...> wrote: > > >My application does not need a DTD for execution as > >it is not supposed to perform any validation. > > But then you say: > > >The problem that > >I am facing is with respect to any entity other than the 5 builtin > >ones. > > So you *do* need a DTD. DTD's aren't just for validation. If you want to > use non-built-in entities, you need a DTD. Even if you managed to hack > around it, you would not be using XML, but a proprietary variant. > > Why not use a DTD? > > -- Richard Hi Richard, The problem with DTD is that my application does not have access to the DTD. The basic functionality of my application is to convert the XML document into a text based format document. I have written an entityResolver implementing the Lexicalhandler interface, this Resolver is called if the entity occurs in the content but it does not get called up if the entity occur as an attribute value. I somehow need access to the NonNormalized value of the attribute. Any suggestions are welcome. --Vineeth | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
