Hello Slava;

in xerces-j 2 there is a sample app called ASModel that will share the
elements of a schema with you.

but i dont think this functionality is available in 1.4.4.....

if you are avoiding using v2 for stability, i would go ahead and try it,
it works pretty well for me....

On 6 Mar 2002, Slava Pestov wrote:

> 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]
> 
> 


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

Reply via email to