While
Carl is investigating ...
My question was really a technical question to assess the impact of the
situation. What does happen when an XML instance is created that
refers to a schema element that can't be found (as in serviceArea
refering to gml:AbstractFeature)? If one of our XML examples referred
to that element, what would happen when someone tried to use it?
I believe I have a general idea, but with all the XML experts on this
list was hoping to get a more concrete idea.
-Anne
Toby Considine wrote, On 6/22/2011 2:13 PM:
I rely on the normative published
specifications of the GML community.
Perhaps Carl, who is on this list, can answer....
tc
"He who fights with monsters should look to it that he himself does not
become a monster, and if you stare long into an abyss, the abyss also
stares
into you." - Fredrich Nietzche
Toby Considine
TC9, Inc
TC Chair: oBIX & WS-Calendar
TC Editor: EMIX, EnergyInterop
U.S. National Inst. of Standards and Tech. Smart Grid Architecture
Committee
Email: Toby.Considine@gmail.com
Phone: (919)619-2104
http://www.tcnine.com/
blog: www.NewDaedalus.com
-----Original Message-----
From: Anne Hendry [mailto:ahendry@pacbell.net]
Sent: Wednesday, June 22, 2011 5:10 PM
To: Toby Considine; emix@lists.oasis-open.org
Subject: reference and use of GML artifacts [Re:
http://tools.oasis-open.org/issues/browse/EMIX-477]
My concern on our use of gml might be cleared up if I could get an
answer to
this one hopefully straight-forward question:
What will happen if a user tries to create an XML instance of either
EMIX
'serviceArea' or 'serviceLocation', which both refer to
gml:AbstractFeature?
Thanks,
Anne
-----------------
Background info:
EMIX references only one GML artifact: 'gml:AbstractFeature' in two
locations:
- emix.xsd when defining 'serviceArea'
- power.xsd when defining 'serviceLocation'
gml:AbstractFeature is defined in
http://schemas.opengis.net/gml/3.2.1/feature.xsd.
EMIX namespace table 1-1 has the GML namespace: http://www.opengis.net/gml/3.2.
This redirects to http://schemas.opengis.net/gml/3.2.1/gml.xsd
which
'includes' 7 other GML schema.
It does not include 'feature.xsd', where AbstractFeature is defined.
With no indication of where to find 'AbstractFeature'
(since the gml url in the EMIX schema doesn't exist either as per Jira
477),
what will happen if a user tries to use either 'serviceArea' or
'serviceLocation'?