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
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
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
> 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
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
OK. :)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
> 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
@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
> 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
[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
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
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,
>
>
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
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
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.
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
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
18 matches
Mail list logo