[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Elements have properties. What properties must be agreed to, toachieve i

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Mon, 28 Mar 2011 16:08:58 -0400

Elements have properties. What properties must be agreed to
Hi Folks,

[Definition] Property: something owned; any tangible or intangible possession that is owned by someone.

Consider this instance document element:

<Publisher xmlns="http://www.book.org">Wrox Press</Publisher>

The element has properties, including:

- name, which has the value "Publisher"
- namespace, which has the value "http://www.book.org"
- type, which has the value ??? (can this be determined solely by examining the instance document?)

If the element is "declared" in an XML Schema then it has additional properties, including nillable, abstract, substitution group affiliations. Here's the complete list of properties:

http://www.w3.org/TR/xmlschema11-1/#Element_Declaration_details

So, an element has multiple properties and the properties have values.

If a sender and a recipient want to interoperate, what set of properties and property values must they agree upon?

I think that the sender and recipient must agree on a unique name for the element. That is, they must agree on values for the name and namespace properties. For example, they agree to this unique name:

{http://www.book.org}Publisher

Does the sender and recipient need to agree on the value of the type property? Suppose the sender assumes the type of the element is an enumeration list ("Wrox Press", "New Riders", "friendsofed", "Norton Press") but the recipient assumes the type of the element is an unconstrained string. Can they interoperate?

Does the sender and recipient need to agree on other properties - nillable, abstract, etc?

Is interoperability a sliding scale, from limited interoperability to perfect interoperability? At what point is there meaningful interoperability?

/Roger


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.