[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
In converting XML instance A to XML instance B, this property mustbe pre
- From: "Costello, Roger L." <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Fri, 29 Nov 2013 15:09:27 +0000
Hi Folks,
This hex string is the EBCDIC encoding of the uppercase letter A:
C1
This hex string is the ASCII encoding of the uppercase letter A:
41
Suppose we create a tool that converts EBCDIC text to ASCII text. The main aspect of the conversion is that the input has a property called semantics – its “meaning” – which must be preserved by the process. For example, the conversion
must preserve this semantics: “uppercase letter A.”
Next, consider this XML which expresses the location of Boston’s Logan airport, using an ICAO code:
<Airport>
<ICAO>KBOS</ICAO>
</Airport>
This XML expresses the location of Boston’s Logan airport, using latitude/longitude:
<Airport>
<Latitude>42.3631° N</Latitude>
<Longitude>71.0064° W</Longitude>
</Airport>
Suppose we create a tool that converts ICAO locations to latitude/longitude locations. The main aspect of the conversion is that the input has a property called semantics – its “meaning” – which must be preserved by the process. For example,
the conversion must preserve this semantics: “location of Boston’s Logan airport.”
But wait! Haven’t we stated that XML doesn’t have semantics? If XML doesn’t have semantics, how can a conversion process preserve semantics?
I’m confused.
Question: An XML instance document has semantics:
(a)
Yes
(b)
No
/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!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
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.
|
|