Click here to Skip to main content
15,300,160 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: Why is XML? Pin
trønderen13-Jan-21 10:53
Membertrønderen13-Jan-21 10:53 
GeneralRe: Why is XML? Pin
chrisseanhayes13-Jan-21 9:18
Memberchrisseanhayes13-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
Memberchrisseanhayes13-Jan-21 10:20 
GeneralRe: Why is XML? Pin
trønderen13-Jan-21 10:06
Membertrønderen13-Jan-21 10:06 
GeneralRe: Why is XML? Pin
chrisseanhayes13-Jan-21 10:16
Memberchrisseanhayes13-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
mveStefan_Lang13-Jan-21 10:45 
Trust me, it can get worse. I write plugins for an application that stores objects into XML files insisting on using the BOM flag and failing to correctly translate different string types from one format to another* when you try to use the methods intended for exactly that purpose. I thought using a library like xercesc would save me from dealing with the finer details, but in the end I needed to stream the already written xml file I created into another and insert that BOM flag manually - because for some reason Xerxesc ignored my telling him to do it for me...

Of course, all that requires to first find out there is such a thing like a BOM flag which isn't immediately obvious when you look at your created XML file with some standard editor. Then you need an editor that actually knows the difference. Then you need to know where to look that you actually have a BOM flag (or not), then you need to duckduckgo (or google if you prefer) for whatever that flag is, and how it's coded, and then you need to find out how in the world you get it written!

*choose any two from: utf8, utf16, wchar_t*, CString (MFC), XMLCh* (which is simply an unsigned short "string")
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

AnswerRe: Why is XML? Pin
Member 1494407415-Jan-21 3:59
MemberMember 1494407415-Jan-21 3:59 
GeneralRe: Why is XML? Pin
af122117-Jan-21 8:49
Memberaf122117-Jan-21 8:49 
GeneralRe: Why is XML? Pin
BotReject18-Jan-21 3:44
MemberBotReject18-Jan-21 3:44 
GeneralRe: Why is XML? Pin
Member 1485238518-Jan-21 16:11
MemberMember 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 
GeneralRe: Umm is everybody busy? Pin
MarkTJohnson12-Jan-21 3:40
professionalMarkTJohnson12-Jan-21 3:40 
GeneralRe: Umm is everybody busy? Pin
den2k8812-Jan-21 3:46
professionalden2k8812-Jan-21 3:46 
GeneralRe: Umm is everybody busy? Pin
  Forogar  12-Jan-21 4:32
professional  Forogar  12-Jan-21 4:32 
GeneralRe: Umm is everybody busy? Pin
kmoorevs12-Jan-21 4:13
Memberkmoorevs12-Jan-21 4:13 
GeneralRe: Umm is everybody busy? Pin
  Forogar  12-Jan-21 4:32
professional  Forogar  12-Jan-21 4:32 
GeneralRe: Umm is everybody busy? Pin
glennPattonWork312-Jan-21 4:55
professionalglennPattonWork312-Jan-21 4:55 
GeneralRe: Umm is everybody busy? Pin
Chris Maunder12-Jan-21 6:56
cofounderChris Maunder12-Jan-21 6:56 

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.


Straw Poll

On which operating systems are you writing code?
Let's see if things have changed since we last ran this. "writing code" meaning editing, building, and running the code on that OS.
  Results   206 votes