Re: A question about schemas and validation

2002-03-06 Thread Slava Pestov
John, I went ahead and upgraded to Xerces 2.0.1, and now I have a problem; the old 'validation/dynamic' feature no longer seems to work. If I enable the 'http://xml.org/sax/features/validation' feature, it prints errors if the file in question does not define a DTD or schema. This is very annoying

Re: A question about schemas and validation

2002-03-05 Thread John Utz
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 200

A question about schemas and validation

2002-03-05 Thread Slava Pestov
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