sca-policy message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-policy] ISSUE-78: Namespace declarations are incorrect for http://tools.oasis-open.org/version-control/browse/wsvn/sca-assembly/SCA_XSDS/sca-policy-1.1-intents-definitions-cd02.xml
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: sca-policy@lists.oasis-open.org
- Date: Tue, 14 Apr 2009 09:54:55 +0100
Folks,
I agree with point #1 raised by this
issue. That is, the xmlns:xml is incorrect and should be removed.
I disagree with point #2. The
reason for this is contained in the specification for the <definition/>
element, which is in section 9 of the
Assembly spec, and I quote:
2946 <?xml
version="1.0"
encoding="ASCII"?>
2947 <!--
Composite schema snippet -->
2948 <definitions
xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
2949 targetNamespace="xs:anyURI">
2950
2951 <sca:intent/>*
2952
2953 <sca:policySet/>*
2954
2955 <sca:binding/>*
2956
2957 <sca:bindingType/>*
2958
2959 <sca:implementationType/>*
2960
2961 </definitions>
2962 The
definitions element has the following attribute:
2963 • targetNamespace
(1..1) – the namespace into which the child elements of this
2964 definitions
element are placed (used for artifact resolution)
ie the @targetNamespace attribute is
used to define the namespace into which the intents declared in the
<definition/> are placed. So
there is no need to supply a separate namespace declaration.
The sca-policy-1.1-intents-definitions-cd02.xml
does contain an @targetNamespace declaration and it
correctly points to the SCA namespace.
Yours, Mike.
Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431
Email: mike_edwards@uk.ibm.com
http://www.osoa.org/jira/browse/POLICY-78
Attachment moved to JIRA.
Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093 or 8-295-6093
e-mail:booz@us.ibm.com
Raymond
Feng---04/10/2009 05:46:56 PM---Hi, Attached is the xml file that conforms
to the schema.
Hi,
Attached is the xml file that conforms to the schema.
Thanks,
Raymond
Raymond Feng
Senior Software Engineer, Apache Tuscany PMC Member & Committer
IBM Bay Area Lab, 1001 E Hillsdale Blvd, Suite 400, Foster City, CA 94404,
USA
E-mail: rfeng@us.ibm.com,
Notes: Raymond Feng/Burlingame/IBM, Tel: 650-645-8117,
T/L: 367-8117
Apache Tuscany: http://tuscany.apache.org
TARGET:
http://tools.oasis-open.org/version-control/browse/wsvn/sca-assembly/SCA_XSDS/sca-policy-1.1-intents-definitions-cd02.xml
DESCRIPTION:
There are multiple issues with the XML document:
1) xmlns:xml is reserved and it should not be explicitly declared
2) Some of the elements such as <intent> are not qualified with "sca:".
As a result, these elements are declared under no namespace.
PROPOSAL:
1) Remove the xmlns:xml attribute
2) Qualify the elements with "sca" prefix or add the default
namespace such as
xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
Thanks,
Raymond
Raymond Feng
Senior Software Engineer, Apache Tuscany PMC Member & Committer
IBM Bay Area Lab, 1001 E Hillsdale Blvd, Suite 400, Foster City, CA 94404,
USA
E-mail: rfeng@us.ibm.com,
Notes: Raymond Feng/Burlingame/IBM, Tel: 650-645-8117,
T/L: 367-8117
Apache Tuscany: http://tuscany.apache.org
[attachment "sca-policy-1.1-intents-definitions-cd02.xml" deleted
by David Booz/Poughkeepsie/IBM]
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]