You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Mikko Honkala <ho...@tml.hut.fi> on 2001/06/27 12:12:25 UTC

Will xerces-j-2 support DOM revalidation and post schema validation info?

Dear Xerces2 developers,

I have few questions about Xerces-J 2's capabilities, hopefully you can
answer them in this early stage.

1. Will Xerces 2 support DOM revalidation? With this I mean the following:

An XML document is read in to a DOM. In this initial stage it is either
validated with schema or not. Then the DOM is modified. Will I be able to
re-validate some parts (e.g. a node) of the DOM without serializing the
whole tree as I have to do with Xerces 1.

2. Will I be able to access the schema post validation infoset? Some
explanation:

Can a ask about a single DOM node's datatype after it has been validated
with schema? Do I know whether a certain attribute comes from schema
defaults or not. What about the value of 'maxOccurs' facet and other facets?

Regards,

	Mikko Honkala
	X-Smiles - http://www.x-smiles.org/
	W3C XForms WG



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


Re: Will xerces-j-2 support DOM revalidation and post schema validation info?

Posted by Elena Litani <el...@ca.ibm.com>.
Hi, 

> 1. Will Xerces 2 support DOM revalidation? 
> 2. Will I be able to access the schema post validation infoset?
 
We are definitely considering and looking into it. 

One of our priorities is to introduce XML Schema support into Xerces 2.
Doing that we will need to revisit current validation mechanism, as well
as consider re-validation of DOM tree in memory.

Elena

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


Re: Will xerces-j-2 support DOM revalidation and post schema validation info?

Posted by annie lu <an...@yahoo.com>.
Hi Mikko,
I am also very intrest in this point, especially
revalidation against a DTD. If you get any information
please let me know!

Thanks a lot!

Annie.

--- Mikko Honkala <ho...@tml.hut.fi> wrote:
> Dear Xerces2 developers,
> 
> I have few questions about Xerces-J 2's
> capabilities, hopefully you can
> answer them in this early stage.
> 
> 1. Will Xerces 2 support DOM revalidation? With this
> I mean the following:
> 
> An XML document is read in to a DOM. In this initial
> stage it is either
> validated with schema or not. Then the DOM is
> modified. Will I be able to
> re-validate some parts (e.g. a node) of the DOM
> without serializing the
> whole tree as I have to do with Xerces 1.
> 
> 2. Will I be able to access the schema post
> validation infoset? Some
> explanation:
> 
> Can a ask about a single DOM node's datatype after
> it has been validated
> with schema? Do I know whether a certain attribute
> comes from schema
> defaults or not. What about the value of 'maxOccurs'
> facet and other facets?
> 
> Regards,
> 
> 	Mikko Honkala
> 	X-Smiles - http://www.x-smiles.org/
> 	W3C XForms WG
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xerces-j-dev-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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