Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-10-26 Thread Callum Gibson
On 25 Oct 09:16, Stefan Behnel wrote: }If it's a patch against libxml2, you can drop it into the bug tracker. Ok, as embarrassing as some of that code is bound to be, I hope someone finds it a useful starting point. http://bugzilla.gnome.org/show_bug.cgi?id=490491 I can provide some example usag

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-10-25 Thread Stefan Behnel
Callum Gibson wrote: > On 23 Oct 21:21, Callum Gibson wrote: > }On 23 Oct 17:39, [EMAIL PROTECTED] wrote: > }}>The only consideration is that I probably need to get some clearance > }}>from my work to release the code. Hopefully there shouldn't be any problem > }}>there since there is no business-

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-10-24 Thread Callum Gibson
On 23 Oct 21:21, Callum Gibson wrote: }On 23 Oct 17:39, [EMAIL PROTECTED] wrote: }}>The only consideration is that I probably need to get some clearance }}>from my work to release the code. Hopefully there shouldn't be any problem }}>there since there is no business-related intellectual property in

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-10-23 Thread Callum Gibson
On 23 Oct 17:39, [EMAIL PROTECTED] wrote: }>The only consideration is that I probably need to get some clearance }>from my work to release the code. Hopefully there shouldn't be any problem }>there since there is no business-related intellectual property in what }>I've done - it's a generic solutio

Re: [xml] Generating XML from Schema definitions (again, sorry) [SEC=UNCLASSIFIED]

2007-10-23 Thread John.Hockaday
ctober 2007 4:46 PM > To: Hockaday John > Cc: xml@gnome.org > Subject: Re: [xml] Generating XML from Schema definitions > (again, sorry) > > > On 23 Oct 16:08, [EMAIL PROTECTED] wrote: > }I don't think that I have seen a response about how your > work on th

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-10-22 Thread Callum Gibson
On 23 Oct 16:08, [EMAIL PROTECTED] wrote: }I don't think that I have seen a response about how your work on this thread }is going. Have you cracked the code yet? Did you try the complex ISO TC }211 XSDs for your creation of XML? Or has it just been too hard to get XML }out of the XSDs? If you

Re: [xml] Generating XML from Schema definitions (again, sorry) [SEC=UNCLASSIFIED]

2007-10-22 Thread John.Hockaday
Message- > From: Hockaday John > Sent: Thursday, 9 August 2007 1:54 PM > To: xml@gnome.org > Cc: 'Callum Gibson' > Subject: RE: [xml] Generating XML from Schema definitions > (again, sorry) [SEC=UNCLASSIFIED] > > > Callum, > > Do I read this thread

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-08-09 Thread Daniel Veillard
On Thu, Aug 09, 2007 at 02:13:33PM +1000, Callum Gibson wrote: > As I'm discovering, XML Schema is clearly defined by a committee and every > man and his dog has had a say in having his favourite syntax added with > the result that there are often 3 ways to do the same thing. Luckily oh, if only

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-08-09 Thread Callum Gibson
On 09 Aug 04:23, Daniel Veillard wrote: }> In other words, what I'm doing is traversing the xsd schema doc and when }> I come across a reference to an imported type or element I lookup that }> namespace in the schemasImports hash and get the xmlSchemaImport struct }> which contains the imported sch

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-08-09 Thread Daniel Veillard
On Thu, Aug 09, 2007 at 12:33:48PM +1000, Callum Gibson wrote: > Hi, > > I just wanted to give an update on where I'm at and have it recorded for > the archive in case anyone else needs to do the same thing. > > On 27 Jul 18:50, [EMAIL PROTECTED] wrote: > }On 27 Jul 03:45, Daniel Veillard wrote:

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-08-08 Thread Callum Gibson
On 09 Aug 13:53, [EMAIL PROTECTED] wrote: }Do I read this thread right? That is, you can create an XML document }instance for a W3C XML Schema? Not only that but your code resolves import }statements and include statement? } }If this is the case then I'm all for using it on the ISO 19139 XSDs! }A

Re: [xml] Generating XML from Schema definitions (again, sorry) [SEC=UNCLASSIFIED]

2007-08-08 Thread John.Hockaday
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Callum Gibson > Sent: Thursday, 9 August 2007 12:34 PM > To: xml@gnome.org > Subject: Re: [xml] Generating XML from Schema definitions > (again, sorry) > > > Hi, > > I just wanted to give an update on where

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-08-08 Thread Callum Gibson
Hi, I just wanted to give an update on where I'm at and have it recorded for the archive in case anyone else needs to do the same thing. On 27 Jul 18:50, [EMAIL PROTECTED] wrote: }On 27 Jul 03:45, Daniel Veillard wrote: }} We don't really have what you expect and for a variety of reasons: }}

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-07-27 Thread Daniel Veillard
On Fri, Jul 27, 2007 at 06:50:42PM +1000, [EMAIL PROTECTED] wrote: > On 27 Jul 03:45, Daniel Veillard wrote: > } We don't really have what you expect and for a variety of reasons: > }- first you can't systematically derive one kind of document from > } a schemas, it's like trying to deriv

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-07-27 Thread callum_r_gibson
On 27 Jul 03:45, Daniel Veillard wrote: } We don't really have what you expect and for a variety of reasons: }- first you can't systematically derive one kind of document from } a schemas, it's like trying to derive one string from a complex } regexp. You need schemas or regexps prec

Re: [xml] Generating XML from Schema definitions (again, sorry)

2007-07-27 Thread Daniel Veillard
On Fri, Jul 27, 2007 at 11:28:36AM +1000, Callum Gibson wrote: [...] > I've been acquainting myself with XML and gradually getting to know > libxml2 and the functionality it provides, and I'm wondering if it's > able to do what I want. > > Basically, I have a large document schema spread across se

[xml] Generating XML from Schema definitions (again, sorry)

2007-07-26 Thread Callum Gibson
Apologies for the duplicate - I'm resending this because I noticed a mail misconfiguration on my end was causing a high spam score - I was worried someone who could help wouldn't see my message. Hi, I'm a relative XML newbie. It seems a simple concept with lots of confusing terminology around it