ata and sets PSVI to
all nodes.
--
View this message in context:
http://www.nabble.com/getElementDeclaration-returns-null-tp21410587p21423027.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.
-
nt();
>
> 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.
>
>
ot;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 -
meters [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-tp21410587
rmalizeDocument method validates document in memory every time I
call it. Is this a bug? I use Xerces 2.9.1.
--
View this message in context:
http://www.nabble.com/getElementDeclaration-returns-null-tp21410587p21415588.html
Sent from the Xerces - J - Users mailing list archiv
ot node. I call
> document.normalizeDocument();
> to set PSVI in child node but getElementDeclaration returns null all the
> same.
> I can fix it in this way:
> validator.validate(new DOMSource(document), new DOMResult(document));
> When I have this line it seems to work propely. getElementDeclaration is
tElement()).getElementDeclaration();
In the next step i create new node using createElementNS and I add this node
to the root node. I call
document.normalizeDocument();
to set PSVI in child node but getElementDeclaration returns null all the
same.
I can fix it in this way:
validator.validate(new DOMSour