From http://xml.apache.org/xerces2-j/properties.html:
" The
DocumentBuilderFactory interface contains a setAttribute(String,Object) method which may
provide a means to set features and properties on the underyling
parser. However, it cannot be relied upon. Therefore, you must use the
Xerces DOMParser object directly."
Will the setAttribute function always work if Xerces _is_ the
underlying parser? It is quite understandable that it wouldn't
work if Xerces wasn't the underlying parser, but if it is, is there
any situation under which setAttribute might not work?
Thanks,
Toby
Hi Andy,
Wow, I was not aware that something like this was possible. This is just what I am looking for -- and, if Xerces supports my understanding of what you're saying, then by no way is its complexity a bad thing.
I am not clear on where this property is set. I searched the API a bit and found the DocumentBuilderFactory.setProperty method. Is this what I'm looking for? If so, where can I get a list of the valid property names? I will be interested in overriding the DocumentImpl and ElementImpl classes (probably others as well).
--
Tobias McNulty
Data Description, Inc.
840 Hanshaw Road, Suite 9
Ithaca, NY 14850
Phone: (607) 257-1000
E-mail: [EMAIL PROTECTED]
Web: www.datadesk.com
Data Description, Inc.
840 Hanshaw Road, Suite 9
Ithaca, NY 14850
Phone: (607) 257-1000
E-mail: [EMAIL PROTECTED]
Web: www.datadesk.com
