Re: feature: expand entity ref (for nextToken())
"Nikhil C. Khedkar" <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alec,
I have a schema document with lots of references
(ref). Do you mean that I can get the actual elements
(the ones referenced by 'ref'). I am attaching the
sample schema file, which I am parsing and the sample
code also.
Thanks,
Nikhil
--- Aleksander Slominski <[email protected]>
wrote:
> hi,
>
> when parser is processing DOCDECL parser can
> encounter possibly
> complex entity declarations (such as containing
> embedded markup),
> there are tow cases:
> 1) when entity ref is encountered by next() will be
> nicely expanded
> 2) however for nextToken() then only thing we
> currently do is to report
> entity reference (with name) and skip any expansion.
> as this is not
> what we may want when processing document with more
> complex
> entities i have just added an optional feature to
> allow requesting
> expanding entity references by nextToken().
>
> comments?
>
> alek
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com