[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-ui-dev] Re: Extension point schemas don't seem to use namespaces properly
|
No, I got the posting, but we are just swamped with 2.1 lockdown.
When we started working on extension point content declaration, we started
with DTDs, but felt constrained (needed annotation, documentation snippets
etc.). On the other hand, full XML schema is a humangous spec that is an
absolute overkill in our case. So we took only things that we absolutely
need. We will eventually revisit extension point schema to see if it
represents a true subset of the full spec or it clashes anywhere. It seems
that you found one area where it does. It it not a high priority for us
because we discourage editing the file with a real XML schema editor
because these editors are generic and can add syntax we don't support.
Regards,
Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745 T/L 969-2745
Fax. 905 413-4854
"Bob Foster"
<bob@xxxxxxxxxxxx To: <pde-ui-dev@xxxxxxxxxxx>, DJ Houghton/Ottawa/IBM@IBMCA
> cc:
Sent by: Subject: [pde-ui-dev] Re: Extension point schemas don't seem to use namespaces properly
pde-ui-dev-admin@
eclipse.org
03/13/2003 07:05
PM
Please respond to
pde-ui-dev
It's now been a week since this was posted to pde-ui-dev. Is this a
write-only list? ;-}
There seems to be nothing in the archives since Feb 18. Is the list broken?
Bob
"Testing. Testing. Is this thing working?" - Milton Berle
----- Original Message -----
From: <DJ_Houghton@xxxxxxxxxx>
To: <pde-ui-dev@xxxxxxxxxxx>
Cc: <bob@xxxxxxxxxxxx>
Sent: Thursday, March 06, 2003 9:52 AM
Subject: Extension point schemas don't seem to use namespaces properly
> A question better directed to this mailing list. (forwarded from
> pde-core-dev)
>
>
> ----- Forwarded by DJ Houghton/Ottawa/IBM on 03/06/2003 10:49 AM -----
>
>
> [This is a repeat of a posting to the eclipse.tools newsgroup. My
apologies
> if response has crossed in the mail.]
>
> The schemas define a targetNamespace, but that namespace is not used in
ref
> attributes to qualify global element names. For example, in
templates.exsd
> provided by org.eclipse.pde, we have:
>
> <schema targetNamespace="org.eclipse.pde.ui">
> ...
> <element name="extension">
> <complexType>
> <sequence>
> <element ref="template" minOccurs="1" maxOccurs="unbounded"/>
> </sequence>
> ...
> </complexType>
> </element>
>
> <element name="template">
> ...
> </element>
> ...
> </schema>
>
> The value of a ref attribute is a QName. Since "schema" and "template"
are
> both unqualified they must be in the same namespace, but they aren't.
>
> Is there some interpretation of XMLSchema I'm not aware of that makes
this
> usage correct?
>
> If not, this must be a non-standard XMLSchema subset. (The schema editor
> marks properly qualified ref attributes as errors.) So the question
> naturally arises: Is there some documentation of the subset implemented?
> What other restrictions apply?
>
> Bob
>
>
>
>
>
>
_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/pde-ui-dev