Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » More namespace help
More namespace help [message #43644] Wed, 05 May 2004 17:10 Go to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Ed,
More info on the problem I was having below... I'm not sure if the
schema location issue in the imports is related to this issue or not. I
mentioned in the thread below that all my cross schema references are wrong.
It is not just that they are wrong... but when the schema gets written out,
the references have the wrong namespace!! So, if schema A imports schema B
and schema C... and an Element in A has a type attribute from schema C...
when A gets written out, Element A's type attriubte is B:type and no xmlns
declaration is created for C.
I am completely lost at this point. I'm breakpointing all over the
place and all the references look correct right up until the save. After
the save all the references get reset to placeholder entities from the
incorrect schema. I do get the following in the log as a warning : XSD:
There is no xmlns declaration for namespace
'http://schemas.xmlsoap.org/soap/encoding' as well as XSD: The location
'soap_encoding.xsd' has not been resolved... also as a warning.
Unfortunately I don't have any schemas to send as I'm getting here via a
conversion process from our old proprietary xsd metamodel to your xsd
metamodel. I'm willing to send them off-line if you think they'll help, but
they are very UUID based making it much harder to read!!

HELP!!

thanks,

lp
Re: More namespace help [message #43707 is a reply to message #43644] Wed, 05 May 2004 18:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Lance,

I'll definitely need something that reproduces the problem to provide decent
help.


Lance Phillips wrote:

> Ed,
> More info on the problem I was having below... I'm not sure if the
> schema location issue in the imports is related to this issue or not. I
> mentioned in the thread below that all my cross schema references are wrong.
> It is not just that they are wrong... but when the schema gets written out,
> the references have the wrong namespace!! So, if schema A imports schema B
> and schema C... and an Element in A has a type attribute from schema C...
> when A gets written out, Element A's type attriubte is B:type and no xmlns
> declaration is created for C.
> I am completely lost at this point. I'm breakpointing all over the
> place and all the references look correct right up until the save. After
> the save all the references get reset to placeholder entities from the
> incorrect schema. I do get the following in the log as a warning : XSD:
> There is no xmlns declaration for namespace
> 'http://schemas.xmlsoap.org/soap/encoding' as well as XSD: The location
> 'soap_encoding.xsd' has not been resolved... also as a warning.
> Unfortunately I don't have any schemas to send as I'm getting here via a
> conversion process from our old proprietary xsd metamodel to your xsd
> metamodel. I'm willing to send them off-line if you think they'll help, but
> they are very UUID based making it much harder to read!!
>
> HELP!!
>
> thanks,
>
> lp
Re: More namespace help [message #43767 is a reply to message #43707] Wed, 05 May 2004 21:16 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Ed,
I sent you a producible test off line.

thanks,

lp
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:409933E2.6F67A4BB@ca.ibm.com...
> Lance,
>
> I'll definitely need something that reproduces the problem to provide
decent
> help.
>
>
> Lance Phillips wrote:
>
> > Ed,
> > More info on the problem I was having below... I'm not sure if the
> > schema location issue in the imports is related to this issue or not. I
> > mentioned in the thread below that all my cross schema references are
wrong.
> > It is not just that they are wrong... but when the schema gets written
out,
> > the references have the wrong namespace!! So, if schema A imports
schema B
> > and schema C... and an Element in A has a type attribute from schema
C...
> > when A gets written out, Element A's type attriubte is B:type and no
xmlns
> > declaration is created for C.
> > I am completely lost at this point. I'm breakpointing all over the
> > place and all the references look correct right up until the save.
After
> > the save all the references get reset to placeholder entities from the
> > incorrect schema. I do get the following in the log as a warning : XSD:
> > There is no xmlns declaration for namespace
> > 'http://schemas.xmlsoap.org/soap/encoding' as well as XSD: The location
> > 'soap_encoding.xsd' has not been resolved... also as a warning.
> > Unfortunately I don't have any schemas to send as I'm getting here
via a
> > conversion process from our old proprietary xsd metamodel to your xsd
> > metamodel. I'm willing to send them off-line if you think they'll help,
but
> > they are very UUID based making it much harder to read!!
> >
> > HELP!!
> >
> > thanks,
> >
> > lp
>
Re: More namespace help [message #586746 is a reply to message #43644] Wed, 05 May 2004 18:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Lance,

I'll definitely need something that reproduces the problem to provide decent
help.


Lance Phillips wrote:

> Ed,
> More info on the problem I was having below... I'm not sure if the
> schema location issue in the imports is related to this issue or not. I
> mentioned in the thread below that all my cross schema references are wrong.
> It is not just that they are wrong... but when the schema gets written out,
> the references have the wrong namespace!! So, if schema A imports schema B
> and schema C... and an Element in A has a type attribute from schema C...
> when A gets written out, Element A's type attriubte is B:type and no xmlns
> declaration is created for C.
> I am completely lost at this point. I'm breakpointing all over the
> place and all the references look correct right up until the save. After
> the save all the references get reset to placeholder entities from the
> incorrect schema. I do get the following in the log as a warning : XSD:
> There is no xmlns declaration for namespace
> 'http://schemas.xmlsoap.org/soap/encoding' as well as XSD: The location
> 'soap_encoding.xsd' has not been resolved... also as a warning.
> Unfortunately I don't have any schemas to send as I'm getting here via a
> conversion process from our old proprietary xsd metamodel to your xsd
> metamodel. I'm willing to send them off-line if you think they'll help, but
> they are very UUID based making it much harder to read!!
>
> HELP!!
>
> thanks,
>
> lp


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: More namespace help [message #586766 is a reply to message #43707] Wed, 05 May 2004 21:16 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Ed,
I sent you a producible test off line.

thanks,

lp
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:409933E2.6F67A4BB@ca.ibm.com...
> Lance,
>
> I'll definitely need something that reproduces the problem to provide
decent
> help.
>
>
> Lance Phillips wrote:
>
> > Ed,
> > More info on the problem I was having below... I'm not sure if the
> > schema location issue in the imports is related to this issue or not. I
> > mentioned in the thread below that all my cross schema references are
wrong.
> > It is not just that they are wrong... but when the schema gets written
out,
> > the references have the wrong namespace!! So, if schema A imports
schema B
> > and schema C... and an Element in A has a type attribute from schema
C...
> > when A gets written out, Element A's type attriubte is B:type and no
xmlns
> > declaration is created for C.
> > I am completely lost at this point. I'm breakpointing all over the
> > place and all the references look correct right up until the save.
After
> > the save all the references get reset to placeholder entities from the
> > incorrect schema. I do get the following in the log as a warning : XSD:
> > There is no xmlns declaration for namespace
> > 'http://schemas.xmlsoap.org/soap/encoding' as well as XSD: The location
> > 'soap_encoding.xsd' has not been resolved... also as a warning.
> > Unfortunately I don't have any schemas to send as I'm getting here
via a
> > conversion process from our old proprietary xsd metamodel to your xsd
> > metamodel. I'm willing to send them off-line if you think they'll help,
but
> > they are very UUID based making it much harder to read!!
> >
> > HELP!!
> >
> > thanks,
> >
> > lp
>
Previous Topic:SchemaLocation help
Next Topic:ComplexType error help
Goto Forum:
  


Current Time: Thu Mar 28 08:10:14 GMT 2024

Powered by FUDForum. Page generated in 0.03160 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top