Welcome!

PHP Authors: Liz McMillan, Carmen Gonzalez, Hovhannes Avoyan, Lori MacVittie, Trevor Parsons

RSS Feed Item

RE: Namespaces enable recognition of the type of document, but

No, namespaces don't identify the type of document. All FpML messages, for
example, use the same namespace. They also share the same root element name;
in this vocabulary the type of document is identified by an xsi:type
attribute. Other vocabularies have other conventions.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Costello, Roger L. [mailto:[email protected]] 
> Sent: 22 March 2009 13:50
> To: 'xml-dev@l...'
> Subject:  Namespaces enable recognition of the type 
> of document, but what about recognition of the instance?
> 
> 
> Hi Folks,
> 
> Consider a task that receives various types of documents. The 
> task needs to "recognize" the type of each document to enable 
> subsequent processing.
> 
> The type of an XML document can be recognized by its 
> namespace. Thus, a task at a health-care insurance company 
> can recognize the following XML document is an insurance 
> claim by examining its namespace:
> 
>     <Claim xmlns="http://www.health-care.org/insurance/claim/">
>       <patient>John Smith</patient>
>       <doctor>Dr. Sara Johnson</doctor>
>       <procedure>Yearly physical</procedure>
>       <charges>$69.00</charges>
>     </Claim>
> 
> Suppose a doctor and a patient mistakenly file the same 
> claim. The two documents contain the same information. As 
> we've seen, namespaces enable the task at the insurance 
> company to recognize that the two documents are both claims, 
> but it does not enable the task to distinguish between the 
> claim filed by the doctor and the claim filed by the patient. 
> The task is confused when it processes the second claim:
> 
>      Is this the same claim that I processed
>      earlier (i.e. a system error), or is it  
>      a different claim for the same procedure
>      (user error)?"
> 
> Thus, namespaces enable recognition of the type of document, 
> but not the instance. Recognition of both are important.
> 
> One solution is to include an enterprise-wide identifier in 
> each claim. Here is the claim the doctor files:
> 
>     <Claim xmlns="http://www.health-care.org/insurance/claim/">
>       <id>A309PX</id>
>       <patient>John Smith</patient>
>       <doctor>Dr. Sara Johnson</doctor>
>       <procedure>Yearly physical</procedure>
>       <charges>$69.00</charges>
>     </Claim>
> 
> And here is the claim the patient files:
> 
>     <Claim xmlns="http://www.health-care.org/insurance/claim/">
>       <id>ZZ34RJ</id>
>       <patient>John Smith</patient>
>       <doctor>Dr. Sara Johnson</doctor>
>       <procedure>Yearly physical</procedure>
>       <charges>$69.00</charges>
>     </Claim>
> 
> Now the task at the insurance company can recognize that: 
> 
> - both documents are claims, and
> - two separate claims have been submitted for the same 
> procedure (i.e. user error).
> 
> 
> QUESTIONS
> 
> 1. Is it best practice to include an enterprise-wide 
> identifier in each business document?
> 
> 2. Is it best practice to use namespaces to identify the type 
> of an XML document, and an enterprise-wide identifier to 
> identify the instance?
> 
> 3. Is there a standard for creating enterprise-wide identifiers?
> 
> 4. Is there a standard way of expressing enterprise-wide 
> identifiers in an XML document?
> 
>    - above I used a very simple <id>...</id> element
> 
> 5. Is the requirement for an enterprise-wide identifier 
> something that you would put in a business requirement's 
> document, or is it something that a system implementer adds 
> on his own initiative? 
> 
> 
> /Roger
> ______________________________________________________________
> _________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: [email protected]
> subscribe: [email protected]
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 

Read the original blog entry...

IoT & Smart Cities Stories
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
The Founder of NostaLab and a member of the Google Health Advisory Board, John is a unique combination of strategic thinker, marketer and entrepreneur. His career was built on the "science of advertising" combining strategy, creativity and marketing for industry-leading results. Combined with his ability to communicate complicated scientific concepts in a way that consumers and scientists alike can appreciate, John is a sought-after speaker for conferences on the forefront of healthcare science,...
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
DXWorldEXPO LLC announced today that Ed Featherston has been named the "Tech Chair" of "FinTechEXPO - New York Blockchain Event" of CloudEXPO's 10-Year Anniversary Event which will take place on November 12-13, 2018 in New York City. CloudEXPO | DXWorldEXPO New York will present keynotes, general sessions, and more than 20 blockchain sessions by leading FinTech experts.
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Ben Perlmutter, a Sales Engineer with IBM Cloudant, demonstrated techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user e...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (November 12-13, 2018, New York City) today announced the outline and schedule of the track. "The track has been designed in experience/degree order," said Schmarzo. "So, that folks who attend the entire track can leave the conference with some of the skills necessary to get their work done when they get back to their offices. It actually ties back to some work that I'm doing at the University of ...