Elena Litani wrote: > > Hi, Christian, > > > > Sorry to repost this, but this is really keeping me stuck...anybody has an > > idea what I am doing wrong or is this actually in face a bug of the > > BuilderFactory? > > It might be a bug.. I am not sure if features are set correctly in > DocumentBuilder for the parser. To validate schema we need to set > feature *http://apache.org/xml/features/validation/schema* on.
Hmmm, I looked at the docs on this feature and it says that it is "true" by default. The Xerces DocumentBuilder implementation class does not change the value so I would expect it to continue to be "true". I just implemented the DocumentBuilderFactory#[gs]etAttribute methods and checked it into the xerces-j 1.x repository. So it should be possible to test this from an app by calling the getAttribute method with the above mentioned feature. I don't have time to test this right now, but I'll continue with this tomorrow. -Edwin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
