[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The text illusion
Hi, I fully agree with David. It's important to have the stack in mind and to think one level at a time: sequence of bits -> sequence of unicode characters -> XML tree (infoset) -> annotated XML tree (PSVI) -> XPath Data Model, etc. To support this idea with an exaggeration, one could even go down to the physical layer with electromagnetic waves transmitting the bits, or atom locations on the disk, and one probably does not want to have to think at this level when validating or querying data. How to interpret the value of a field is done at the schema level, when you specify that, say, the altitude element has the type xs:integer. ...however :-) Having said that, of course, the schema used could say instead that the type of the altitude element is xs:base64Binary (with the lexical representation 0000 for example, which can be parsed as an integer or base64, or string, etc). But the decoding, in this case, happens much higher on the stack and has nothing to do with the encoding of the XML file itself. Kind regards, Ghislain Dr. Ghislain Fourny Chief Scientist 28msec, Inc. Menlo Park CA | Zurich, Switzerland On Fri, Jul 15, 2016 at 2:05 PM, David Carlisle <d.p.carlisle@gmail.com> wrote:
[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
|