Hallo James,

I've tried out your Dom4J Package (0.8) for some days and I'm very happy with
it.

I've found 2 errors, but I don't know, if this is the right place to report it.
Anyway:

I think, the UserDataDocumentFactory is missing a method:

public Attribute createAttribute(Element owner, QName qname, String value)

You get UserDataElements in your doc, but no UserDataAttributes.

By the way, i would need SchemaElements, -Factories etc. with a UserData field,
to implement a change listener mechanism.
Have I to extend the schema classes ?

Other point:
I want to install a own ErrorHandler:

 SAXReader reader = new SAXReader(DEFAULT_PARSER_NAME); 
//"org.apache.xerces.parsers.SAXParser";
 reader.setValidation (DEFAULT_PARSER_VALIDATION); //true
 reader.setErrorHandler(new MyReaderErrorHandler());

This doesn't work because of a little bug in SAXReader.setErrorHandler:
errorHandler = errorHandler // must be this.errorHandler = errorHandler

Greetings
Stefan



_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to