XML Document Validation [message #33900] |
Tue, 02 December 2003 13:59  |
Eclipse User |
|
|
|
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 15:10  |
Eclipse User |
|
|
|
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 15:10  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03184 seconds