Click here to Skip to main content
15,884,388 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: My Professor Said Pin
trønderen13-Jan-21 9:03
trønderen13-Jan-21 9:03 
GeneralRe: Why is XML? Pin
DumpsterJuice13-Jan-21 5:32
DumpsterJuice13-Jan-21 5:32 
GeneralRe: Why is XML? Pin
rhyous13-Jan-21 5:37
rhyous13-Jan-21 5:37 
GeneralXHTML Pin
Chris Maunder13-Jan-21 6:25
cofounderChris Maunder13-Jan-21 6:25 
GeneralRe: Why is XML? Pin
Bruce Patin13-Jan-21 6:12
Bruce Patin13-Jan-21 6:12 
GeneralRe: Why is XML? Pin
Peter Adam13-Jan-21 6:18
professionalPeter Adam13-Jan-21 6:18 
GeneralRe: Why is XML? Pin
Roger Wright13-Jan-21 9:07
professionalRoger Wright13-Jan-21 9:07 
GeneralRe: Why is XML? Pin
trønderen13-Jan-21 10:53
trønderen13-Jan-21 10:53 
Roger Wright wrote:
Do you remember what we had before XML?
Well ... What if I do?

I was studying ASN.1 in the very early 1980s. The scheme is mandatory; the legal constructions are always specified. Great!

It is abstract: ASN.1 specifies the logical structure of files/documents, with no concern for a specific representation or format. Great!

An ASN.1 document/file may be represented in a handful well specified, clearly identified concrete encodings - functionally 100% identical; you may read in one encoding and write back in another encoding, with no loss of information. Great!

You must have access to the scheme, which ensures a proper interpretation with no guesswork. You know what you get. Great!

A data stream not adhering to the scheme is like a transmission ruined by noise: It is worth nothing. Any non-ruined document honors the ADN.1 scheme. Unconditionally. Great!

The 'Tag' part is binary. You display it to the user e.g. by mapping it to local language terms (Since you must have access to the scheme, you have an opportunity to set up a meaningful mapping) - I worked with a handful applications providing mappings of tags to several different languages. Great!

The representation essentially being binary required the use of an ASN.1 data editor - vi wouldn't suffice. As a result, you never forgot to add the closing tag (there was no closing tag). Great!

You never misspelled a tag name, but selected from those allowed by the scheme. Great!

You never got the length wrong - that was handled by the ASN.1 editor and concrete coder. Great!

The format was space efficient (although dependent on the encoding), BER excessively so, according to some critics. (Some other concrete encodings, such as the XML encoding, could be quite wasteful, though.) Great!

The 'Value' part was completely unrestricted, a binary blob, with no need for escapes, quoting or anything resembling 'character entities'. (Or Base64, QP, AtoB/BtoA, BinHex, UUencode, or whathaveyou.) Great!

If you wanted to edit an ASN.1 document, you had to use an ASN.1 editor that made sure that the scheme was honored; the document couldn't be arbitrarily tampered with outside scheme control. Great!

I sure miss both the abstract ASN.1 side, and the BER encoding.
GeneralRe: Why is XML? Pin
chrisseanhayes13-Jan-21 9:18
chrisseanhayes13-Jan-21 9:18 
GeneralRe: Why is XML? Pin
Chris Maunder13-Jan-21 9:34
cofounderChris Maunder13-Jan-21 9:34 
GeneralRe: Why is XML? Pin
chrisseanhayes13-Jan-21 10:20
chrisseanhayes13-Jan-21 10:20 
GeneralRe: Why is XML? Pin
trønderen13-Jan-21 10:06
trønderen13-Jan-21 10:06 
GeneralRe: Why is XML? Pin
chrisseanhayes13-Jan-21 10:16
chrisseanhayes13-Jan-21 10:16 
GeneralRe: Why is XML? Pin
englebart13-Jan-21 10:25
professionalenglebart13-Jan-21 10:25 
GeneralRe: Why is XML? Pin
Stefan_Lang13-Jan-21 10:45
Stefan_Lang13-Jan-21 10:45 
AnswerRe: Why is XML? Pin
Member 1494407415-Jan-21 3:59
Member 1494407415-Jan-21 3:59 
GeneralRe: Why is XML? Pin
af122117-Jan-21 8:49
af122117-Jan-21 8:49 
GeneralRe: Why is XML? Pin
BotReject18-Jan-21 3:44
BotReject18-Jan-21 3:44 
GeneralRe: Why is XML? Pin
Member 1485238518-Jan-21 16:11
Member 1485238518-Jan-21 16:11 
GeneralRe: Why is XML? Pin
Matt McGuire22-Jan-21 6:49
professionalMatt McGuire22-Jan-21 6:49 
GeneralUmm is everybody busy? Pin
glennPattonWork312-Jan-21 2:54
professionalglennPattonWork312-Jan-21 2:54 
GeneralRe: Umm is everybody busy? Pin
Slacker00712-Jan-21 3:09
professionalSlacker00712-Jan-21 3:09 
GeneralRe: Umm is everybody busy? Pin
RickZeeland12-Jan-21 3:15
mveRickZeeland12-Jan-21 3:15 
GeneralRe: Umm is everybody busy? Pin
  Forogar  12-Jan-21 3:28
professional  Forogar  12-Jan-21 3:28 
GeneralRe: Umm is everybody busy? Pin
RickZeeland12-Jan-21 3:36
mveRickZeeland12-Jan-21 3:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.