Re: XML Schema advanced question

2005-08-31 Thread Gareth Reakes
Hey, Does it work if you use InputSource * is = new LocalFileInputSource("C:\\MySchema.xsd"); instead of InputSource * is = new MemBufInputSource(schema, schemaLen, "MySchema"); ? If so then you may want to try to pass something like "C:\ \MySchema.xsd" instead of "MySchema" to the Mem

Re: XML Schema advanced question

2005-08-30 Thread Boris Kolpackov
Milan, "Milan Tomic" <[EMAIL PROTECTED]> writes: > I don't underastand why it will not work. This is short example of my > XML file: > > > Some text... > ... > > > I have three schemas: > > 1. First schema defines elements (Root, SomeNode...) that belongs to > default namespace. > 2. Second che

Re: XML Schema advanced question

2005-08-30 Thread Gareth Reakes
Hi, Milan Tomic wrote: The key to retrieve the grammar is the namespace of the schema so what you do wont work. I don't underastand why it will not work. This is short example of my XML file: It wont work because we use the namespace of the root element to look up the correct schema. In t

RE: XML Schema advanced question

2005-08-30 Thread Milan Tomic
> The key to retrieve the grammar is the namespace of the > schema so what you do wont work. I don't underastand why it will not work. This is short example of my XML file: Some text... ... I have three schemas: 1. First schema defines elements (Root, SomeNode...) that belongs to defa

Re: XML Schema advanced question

2005-08-30 Thread Gareth Reakes
Hi, The key to retrieve the grammar is the namespace of the schema so what you do wont work. What is it that you want to achieve? Have you considered the use of an entity resolver? Gareth Gareth Reakes wrote: Hey, Weekend turned out to be busy - I am back in work tomorrow and will l

RE: XML Schema advanced question

2005-08-29 Thread Milan Tomic
OK. :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XML Schema advanced question

2005-08-29 Thread Gareth Reakes
Hey, Weekend turned out to be busy - I am back in work tomorrow and will look then. Gareth On 29 Aug 2005, at 11:17, Milan Tomic wrote: I am heading out to yet another meeting. I will take a look at the code and confirm (or not) what I said and think of a workaround for over th

RE: XML Schema advanced question

2005-08-29 Thread Milan Tomic
> I am heading out to yet another meeting. I will take a look at > the code and confirm (or not) what I said and think of a workaround > for over the weekend. Any news? :) - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: XML Schema advanced question

2005-08-26 Thread Gareth Reakes
@xerces.apache.org Subject: Re: XML Schema advanced question Hey, I am heading out to yet another meeting. I will take a look at the code and confirm (or not) what I said and think of a workaround for over the weekend. Gareth On 26 Aug 2005, at 8:30, Milan Tomic wrote: Gareth, Is there a

RE: XML Schema advanced question

2005-08-26 Thread Milan Tomic
> To me, this appears to be a cyclic dependency and therefore a > problem with the schema design. XML Spy doesn't complain in any way when cheking sample XML file against its XML schema(s). - To unsubscribe, e-mail: [EMAIL PRO

RE: XML Schema advanced question

2005-08-26 Thread Matthew Berry
[EMAIL PROTECTED] Sent: 26 August 2005 09:44 To: c-dev@xerces.apache.org Subject: Re: XML Schema advanced question Hey, I am heading out to yet another meeting. I will take a look at the code and confirm (or not) what I said and think of a workaround for over the weekend. Gareth On 26 Aug 2005

Re: XML Schema advanced question

2005-08-26 Thread Gareth Reakes
Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 10:37 AM To: c-dev@xerces.apache.org Subject: Re: XML Schema advanced question Hey, I have not got time this morning to confirm this, but my suspicion is that there is no namespace to key off to find the

RE: XML Schema advanced question

2005-08-26 Thread Milan Tomic
Gareth, Is there a workaround? :( Thank you, Milan > -Original Message- > From: Gareth Reakes [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 25, 2005 10:37 AM > To: c-dev@xerces.apache.org > Subject: Re: XML Schema advanced question > > > Hey, > >

Re: XML Schema advanced question

2005-08-25 Thread Gareth Reakes
as if that would help. Kind regards, Milan -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 10:30 AM To: c-dev@xerces.apache.org Subject: Re: XML Schema advanced question Hi, To confirm, your first schema has no target name

RE: XML Schema advanced question

2005-08-25 Thread Milan Tomic
Hi Gareth, No, it doesn't have. I could post schemas if that would help. Kind regards, Milan > -Original Message- > From: Gareth Reakes [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 25, 2005 10:30 AM > To: c-dev@xerces.apache.org > Subject: Re: XML Sche

Re: XML Schema advanced question

2005-08-25 Thread Gareth Reakes
005 10:10 AM *To:* c-dev@xerces.apache.org *Subject:* XML Schema advanced question Hi, I have three schemas: 1. First that imports second, 2. Second that imports third, 3. Third that imports second. Schemas were imported in this way: http://www.someURL.

RE: XML Schema advanced question

2005-08-24 Thread Milan Tomic
Title: Message   Have anyone noticed my post? :>     -Original Message-From: Milan Tomic [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 10:10 AMTo: c-dev@xerces.apache.orgSubject: XML Schema advanced question Hi, I have three schemas: 1. First t

XML Schema advanced question

2005-08-24 Thread Milan Tomic
Title: XML Schema advanced question Hi, I have three schemas: 1. First that imports second, 2. Second that imports third, 3. Third that imports second. Schemas were imported in this way: http://www.someURL.com/MySchema.xsd"/> I'm loading first schema from my r