chodnik <wxwidg...@o2.pl> wrote on 01/12/2009 09:34:30 AM: > I've found how use normalizeDocument in this article: > > http://www.idealliance. > org/papers/dx_xmle04/papers/02-05-02/02-05-02.html#d0e1114 > > Now I set > document.getDomConfig().setParameter("infoset", true); > but there is no changes, getElementDeclaration still returns null. > I think normalizeDocument method validates document in memory every time I > call it. Is this a bug? I use Xerces 2.9.1.
"infoset" has nothing to do with schema validation. Please review the available parameters [1] in the spec. At the very least you should be setting "schema-type" and "validate". > -- > View this message in context: http://www.nabble. > com/getElementDeclaration-returns-null-tp21410587p21415588.html > Sent from the Xerces - J - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org > For additional commands, e-mail: j-users-h...@xerces.apache.org Thanks. [1] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#DOMConfiguration Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org