xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juho <j.houll...@gmail.com>
Subject Re: Add namespaces declaration to parent element.
Date Thu, 20 Aug 2009 14:35:58 GMT


Again,

I thought actually the functionnality of parser for Jaxp Validator doesn't
work for Element,
I try it for document validation but it works, but not for elements.

https://issues.apache.org/jira/browse/XERCESJ-1387
https://issues.apache.org/jira/browse/XERCESJ-1387 
But  i think i misundestood, the bug is only on find XSElementDecl from PSVI
after validation but validation works.

bye


Michael Glavassevich-3 wrote:
> 
> juho <j.houllier@gmail.com> wrote on 08/20/2009 09:43:32 AM:
> 
>> Hello and thanks it works perfectly.
>>
>> I have just an understanding question;
>> I began with difficulty to understand how to use different DOM Level, but
>> correct me if misunderstood but Level3 is the most complete actually?
> 
> It's the most recent version of the DOM specification. In that sense it's
> "most complete".
> 
>> I think for me it was the best way to realize what i need. Because it
>> permits to validate with method "normalizeDocument()" and errorHandler
> link
>> to unvalid Node. I don't have found this kind of functionality from other
>> DOM Level or from JAXP Validator.
>>
>> An ultimate question,
>> For the moment it isn't possible to validate only an element or
> attribute?
> 
> For elements it's only possible with the JAXP Validator. There's no
> support
> for validating bare attributes in JAXP or DOM.
> 
>> thanks for all.
> 
> Thanks.
> 
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
> 

-- 
View this message in context: http://www.nabble.com/Add-namespaces-declaration-to-parent-element.-tp25058380p25063340.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Mime
View raw message