Hi Dick,
I know Lucian (cced on this mail) had a go at it a while back. Whats
the state of it now Lucian?
Gareth
[EMAIL PROTECTED] wrote:
Thanks again for your answers.
It surprises me that there is only small interest in the implementation
of the DOM Level 3 Validation Specification. Especially in the area of
XML tools these proposed interfaces would gave us great convenience.
DD
-----Oorspronkelijk bericht-----
Van: Michael Glavassevich [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 4 oktober 2005 20:01
Aan: j-users@xerces.apache.org
Onderwerp: Re: Matching a Node with his ElementDeclaration
<[EMAIL PROTECTED]> wrote on 10/04/2005 04:06:09 AM:
It is easy to retrieve typeInfo (via getElementDeclaration) of a
Node if this node has been validated and therefore is an instanceof
PSVIElement.
But how can I come to ElementDeclaration when the node was not
validated. I do have a schemagrammar in the form a an XSModel. I
cannot see another way to find the related ElementDeclarion other
then traversing and analyzing the XSModel. But this can be a
complicated task and I would prefer a more simple method.
A related question.
If the DOM isn't annotated with PSVI then something external
needs to make
the association. If you're using the XSModel for this purpose
you do need
to traverse it.
In the DOM Level 3 Validation Specification is
an interface ElementEditVAL, with methods like getAllowedChildren.
Is there any chance these specifications will be
implemented in Xerces?
Perhaps in a future release though I'm not aware of any plans
to work on
it. There hasn't been much discussion about it on the lists.
I' am using to Xerces 2.6.2.
DD
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.
Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Gareth Reakes, Managing Director Embrace Mobile
+44-1865-811197 http://www.embracemobile.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]