XML Document Validation [message #33900] |
Tue, 02 December 2003 18:59 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: cipher8000.yahoo.com
Hi Ed,
Is there any plans in future to implement xml instance validation using
eclipse xsd model.? Can i hook "eclipse xsd model" to Xerces parser to do
validation for xml instances? Xerces does some decent xml validation against
schemas..but the problem is they use Xerces Schema model.
I really appricate if you provide some points/directions to implement
validation on top of eclipse xsd model.?
thanks
-muruga
|
|
|
Re: XML Document Validation [message #33940 is a reply to message #33900] |
Tue, 02 December 2003 20:10 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: merks.ca.ibm.com
Muruga,
No, there aren't any immediate plans to do this, but the low-grade pressure to
do so has been there for quite some time. Some pieces you'd need are available
already. I.e., you can use XSDSimpleTypeDefinition.assess to do validation of
simple type literals. Also, in XSDEditor.GenericXMLResourceImpl there is some
code that illustrates how the DFA on an XSDParticle can be used to validate
element content. Unfortunately, full validation would be a large piece of work,
but perhaps these simple pieces will be sufficient for what you actually want to
do...
Muruga Chinnananchi wrote:
> Hi Ed,
>
> Is there any plans in future to implement xml instance validation using
> eclipse xsd model.? Can i hook "eclipse xsd model" to Xerces parser to do
> validation for xml instances? Xerces does some decent xml validation against
> schemas..but the problem is they use Xerces Schema model.
>
> I really appricate if you provide some points/directions to implement
> validation on top of eclipse xsd model.?
>
> thanks
> -muruga
|
|
|
Re: XML Document Validation [message #581353 is a reply to message #33900] |
Tue, 02 December 2003 20:10 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33205 Registered: July 2009 |
Senior Member |
|
|
Muruga,
No, there aren't any immediate plans to do this, but the low-grade pressure to
do so has been there for quite some time. Some pieces you'd need are available
already. I.e., you can use XSDSimpleTypeDefinition.assess to do validation of
simple type literals. Also, in XSDEditor.GenericXMLResourceImpl there is some
code that illustrates how the DFA on an XSDParticle can be used to validate
element content. Unfortunately, full validation would be a large piece of work,
but perhaps these simple pieces will be sufficient for what you actually want to
do...
Muruga Chinnananchi wrote:
> Hi Ed,
>
> Is there any plans in future to implement xml instance validation using
> eclipse xsd model.? Can i hook "eclipse xsd model" to Xerces parser to do
> validation for xml instances? Xerces does some decent xml validation against
> schemas..but the problem is they use Xerces Schema model.
>
> I really appricate if you provide some points/directions to implement
> validation on top of eclipse xsd model.?
>
> thanks
> -muruga
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02417 seconds