Hello everybody,

I am developing an XML plugin for the jEdit text editor (www.jedit.org),
one of the features of the plugin is to give the user a list of declared
elements for one-click insertion into the current file. When Xerces
parses a file with a DTD, validation is performed and the declared
elements are passed to my DeclHandler's elementDecl() method. However,
if the file specifies a schema instead of a DTD, this is not the case;
the file is still validated, but elementDecl() is never called.

So my question is, how can I obtain a list of all declared elements,
attributes and entities if the file was validated using a schema? Do I
have to resort to Xerces-specific APIs to do this?

I am using Xerces-J 1.4.4.
-- 
Slava Pestov


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

Reply via email to