XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Generating XML from XSD

sun provides a "XML Instance Generator" implementation based on Sun 
Multi-Schema XML Validator (MSV).
one of the best component in this area i'm aware of....
component can be downloaded from here 
https://msv.dev.java.net/servlets/ProjectDocumentList?folderID=101

alex


Shlomo Yona wrote:
> Hello,
>
> Isn't there any alternative other than XML Spy and oXygen for this functionality?
>
> Shlomo.
>
>
> -----Original Message-----
> From: Anthony B. Coates (XML-Dev) [mailto:abcoatesecure-xmldev@yahoo.co.uk] 
> Sent: γ 27 ιεπι 2007 20:20
> To: xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Generating XML from XSD
>
> It's already been mentioned that tools like XML Spy and oXygen have some  
> capability to produce XML instances to match a Schema.  However, my own  
> experience (mostly with users who had XML Spy) is that the tool often  
> generated invalid instances, and the users then assumed that there was an  
> error in the Schema that they had been given.
>
> In particular, I'm not sure if any tool will reliably generate valid  
> instances if there are pattern restrictions in a Schema.  This may well be  
> an intractable problem, to generate a valid string match a pattern for any  
> arbitrary pattern.  Certainly it isn't a trivial problem.  It does mean,  
> however, that you should never expect an XML instance generator to fully  
> valid XML.  It may need editing to make it valid.
>
> Cheers, Tony.
>
> On Wed, 27 Jun 2007 06:55:46 +0100, Sagar Surana <sagar.surana@amdocs.com>  
> wrote:
>
>   
>> Hi,
>>
>>   I want some kind of API's which can help generate a random XML based
>> on XSD.
>>
>>
>>
>>
>> Can someone please help me regarding the same.
>>
>>
>>
>>
>> Keep Smiling,
>>
>> Sagar Surana
>>     


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS