Re: getElementDeclaration returns null

2009-01-12 Thread chodnik
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. -

Re: getElementDeclaration returns null

2009-01-12 Thread Michael Glavassevich
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. > >

Re: getElementDeclaration returns null

2009-01-12 Thread chodnik
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 -

Re: getElementDeclaration returns null

2009-01-12 Thread Michael Glavassevich
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

Re: getElementDeclaration returns null

2009-01-12 Thread chodnik
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

Re: getElementDeclaration returns null

2009-01-12 Thread Michael Glavassevich
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

getElementDeclaration returns null

2009-01-12 Thread chodnik
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