Try setting the "psvi" parameter to true as well.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

chodnik <wxwidg...@o2.pl> wrote on 01/12/2009 12:45:30 PM:

>
> I have set configuration listed below.
>
> DOMConfiguration config = document.getDomConfig();
>        config.setParameter("validate", true);
>        config.setParameter("infoset", true);
>        config.setParameter("schema-type",
"http://www.w3.org/2001/XMLSchema";);
>        document.normalizeDocument();
>
> It still doesn't work.
> --
> View this message in context: http://www.nabble.
> com/getElementDeclaration-returns-null-tp21410587p21419641.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

Reply via email to