[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Generating XML from XSD

  • From: Carlo Innocenti <minollo@m...>
  • To: "Shlomo Yona" <S.Yona@F...>
  • Date: Thu, 28 Jun 2007 14:04:07 -0400

RE:  Generating XML from XSD
Well, at the cost of sounding a bit unpopular these days, I'll chime in...

We did a good amount of work in Stylus Studio to 
make our XML Schema to XML functionality able to 
generate valid XML fragments in most cases; we 
also try to take into consideration facets 
information to create sample data that is valid 
against the restrictions specified in the schema. 
I wouldn't claim that we *always* generate valid XML, though.

Give it a try, you can download it for free from 
http://www.stylusstudio.com/download

You can do that through File > Document Wizards, 
or opening a schema, right clicking on a schema 
entry and selecting "View XML Sample".

Minollo


At 01:51 PM 6/28/2007, you 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@y...]
>Sent: ã 27 éåðé 2007 20:20
>To: xml-dev@l...
>Subject: Re:  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@a...>
>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
>--
>Anthony B. Coates
>Senior Partner
>Miley Watts LLP
>Experts In Data
>UK: +44 (20) 8816 7700, US: +1 (239) 344 7700
>Mobile/Cell: +44 (79) 0543 9026
>Data standards participant: genericode, ISO 20022 (ISO 15022 XML),
>UN/CEFACT, MDDL, FpML, UBL.
>http://www.mileywatts.com/
>
>_______________________________________________________________________
>
>XML-DEV is a publicly archived, unmoderated list hosted by OASIS
>to support XML implementation and development. To minimize
>spam in the archives, you must subscribe before posting.
>
>[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>Or unsubscribe: xml-dev-unsubscribe@l...
>subscribe: xml-dev-subscribe@l...
>List archive: http://lists.xml.org/archives/xml-dev/
>List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
>_______________________________________________________________________
>
>XML-DEV is a publicly archived, unmoderated list hosted by OASIS
>to support XML implementation and development. To minimize
>spam in the archives, you must subscribe before posting.
>
>[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>Or unsubscribe: xml-dev-unsubscribe@l...
>subscribe: xml-dev-subscribe@l...
>List archive: http://lists.xml.org/archives/xml-dev/
>List Guidelines: http://www.oasis-open.org/maillists/guidelines.php




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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.