Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » XML Document Validation
XML Document Validation [message #33900] Tue, 02 December 2003 18:59 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
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/
Previous Topic:XML Document Validation
Next Topic:Trying to create an XSD annotation element
Goto Forum:
  


Current Time: Fri Apr 19 10:26:15 GMT 2024

Powered by FUDForum. Page generated in 0.02512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top