I am creating the document form a schema on the fly so I am sure the schema
is valid. The attribute is created after reading its declaration from
schema. I use the getAttributeUses method on the owner element. The only
thing is that a whole document is not valid because at the time of
validation it is not complete. But I don't think this is realy nessesery
because I have the element's PSVI even though the document is incomplet and
then invalid at all.


Michael Glavassevich-3 wrote:
> 
> Did you check that your document and schema are actually valid and that
> there are declarations in the schema for the attributes that you're
> looking
> at?
> 
> 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 11/10/2009 05:51:27 PM:
> 
>> I have an in memory DOM document with PSVI support. The problem is that
> after
>> validation PSVI is set for all elements but getAttributeDeclaration from
>> AttributePSVI returns null. I have tryed to validate all document, an
>> element with attribute and the attribute but the result is the same.
> Should
>> I do something specific to have PSVI for attribute node?
>> Thank in advance for any suggestions.
>> --
>> View this message in context: http://old.nabble.com/PSVI-for-
>> attributes-tp26292805p26292805.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
> 

-- 
View this message in context: 
http://old.nabble.com/PSVI-for-attributes-tp26292805p26298462.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