• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Bah, the people who came up with this software should just die.

notfred

Lifer
I'm using a web application that is supposed to return a buch of data. The applciation gives me the option of getting data in HTML format, or XML format. The people who think they're giving me XML data arefvcking morons.

Screenshot of supposed "XML" output.

Sample of the source of the above document:

<html>
<head>
<title>BASIS+ Tools: Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

Project.Task.Subtask %CA%<br><br>

&amp;lt?xml version="1.0" encoding="UTF-8"?&amp;gt<br>
&amp;ltroot xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns😱d="urn:schemas-microsoft-com😱fficedata"&amp;gt<br>
&amp;ltxsd:schema&amp;gt<br>
&amp;ltxsd:element name="dataroot"&amp;gt<br>
&amp;ltxsd:complexType&amp;gt<br>
&amp;ltxsd:choice maxOccurs="unbounded"&amp;gt<br>
&amp;ltxsd:element ref="Basis"/&amp;gt<br>
&amp;lt/xsd:choice&amp;gt<br>
&amp;lt/xsd:complexType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Basis"&amp;gt<br>
&amp;ltxsd:annotation&amp;gt<br>
&amp;ltxsd:appinfo/&amp;gt<br>
&amp;lt/xsd:annotation&amp;gt<br>
&amp;ltxsd:complexType&amp;gt<br>
&amp;ltxsd:sequence&amp;gt<br>
&amp;ltxsd:element name="PTS" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="64"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Project" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="11"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Task" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="32"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Title" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="255"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>

That's not XML! It's not even close! It's HTML that when rendered, kind of looks like XML. What fvcking good is that? I hate people! :|
 
Had a manager once who was completly sold on XML, even though he had absolutely no clue what it was. He suggested we consider porting our C/C++ project over to XML, because it was going to be really hot. Had to explain to him how XML isn't a programming language.

He was a fscking idiot, but was great for buzzword-bingo.
 
Some people try to use XML too much. I've had to do extensive work on a site written entirely with XSLT sheets which takes in XML and spits out the HTML. It takes about 5X as long to do anything with it as it would if it had been written initially in ASP. The guy who wrote it regrets having done it all with XSLT.
 
I think the promulgators of the XML movement in early 2000 (or was it later?) are largely to blame for such egregious misuse. The idea that XML was the panacean answer to all things was so heavily pushed that everyone tried to use it for all things. People are still doing it today, and the result is a bunch of horribly amorphous XML documents that are more trouble to work with than other structured formats.

Anyway, I'd roll out the HTML DOM reader on that nonsense.
 
i'd be intrested to see whats below what you poasted, as there is alot. That looks like legitimate XML to me, it just has the schema/DTD built in - nothing wrong with that, the data is probably just below that.

edit: did read well enough before, didnt notice it was html rendered as XML 😀 just looked at the screenshot
 
Originally posted by: notfred
I'm using a web application that is supposed to return a buch of data. The applciation gives me the option of getting data in HTML format, or XML format. The people who think they're giving me XML data arefvcking morons.

Screenshot of supposed "XML" output.

Sample of the source of the above document:

<html>
<head>
<title>BASIS+ Tools: Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

Project.Task.Subtask %CA%<br><br>

&amp;lt?xml version="1.0" encoding="UTF-8"?&amp;gt<br>
&amp;ltroot xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns😱d="urn:schemas-microsoft-com😱fficedata"&amp;gt<br>
&amp;ltxsd:schema&amp;gt<br>
&amp;ltxsd:element name="dataroot"&amp;gt<br>
&amp;ltxsd:complexType&amp;gt<br>
&amp;ltxsd:choice maxOccurs="unbounded"&amp;gt<br>
&amp;ltxsd:element ref="Basis"/&amp;gt<br>
&amp;lt/xsd:choice&amp;gt<br>
&amp;lt/xsd:complexType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Basis"&amp;gt<br>
&amp;ltxsd:annotation&amp;gt<br>
&amp;ltxsd:appinfo/&amp;gt<br>
&amp;lt/xsd:annotation&amp;gt<br>
&amp;ltxsd:complexType&amp;gt<br>
&amp;ltxsd:sequence&amp;gt<br>
&amp;ltxsd:element name="PTS" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="64"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Project" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="11"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Task" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="32"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Title" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="255"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>

That's not XML! It's not even close! It's HTML that when rendered, kind of looks like XML. What fvcking good is that? I hate people! :|


Anyone else getting a sense of deja vu? I thought I saw this exact same post before like last year...
 
Originally posted by: tikwanleap
Originally posted by: notfred
I'm using a web application that is supposed to return a buch of data. The applciation gives me the option of getting data in HTML format, or XML format. The people who think they're giving me XML data arefvcking morons.

Screenshot of supposed "XML" output.

Sample of the source of the above document:

<html>
<head>
<title>BASIS+ Tools: Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

Project.Task.Subtask %CA%<br><br>

&amp;lt?xml version="1.0" encoding="UTF-8"?&amp;gt<br>
&amp;ltroot xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns😱d="urn:schemas-microsoft-com😱fficedata"&amp;gt<br>
&amp;ltxsd:schema&amp;gt<br>
&amp;ltxsd:element name="dataroot"&amp;gt<br>
&amp;ltxsd:complexType&amp;gt<br>
&amp;ltxsd:choice maxOccurs="unbounded"&amp;gt<br>
&amp;ltxsd:element ref="Basis"/&amp;gt<br>
&amp;lt/xsd:choice&amp;gt<br>
&amp;lt/xsd:complexType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Basis"&amp;gt<br>
&amp;ltxsd:annotation&amp;gt<br>
&amp;ltxsd:appinfo/&amp;gt<br>
&amp;lt/xsd:annotation&amp;gt<br>
&amp;ltxsd:complexType&amp;gt<br>
&amp;ltxsd:sequence&amp;gt<br>
&amp;ltxsd:element name="PTS" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="64"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Project" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="11"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Task" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="32"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>
&amp;lt/xsd:simpleType&amp;gt<br>
&amp;lt/xsd:element&amp;gt<br>
&amp;ltxsd:element name="Title" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar"&amp;gt<br>
&amp;ltxsd:simpleType&amp;gt<br>
&amp;ltxsd:restriction base="xsd:string"&amp;gt<br>
&amp;ltxsd:maxLength value="255"/&amp;gt<br>
&amp;lt/xsd:restriction&amp;gt<br>

That's not XML! It's not even close! It's HTML that when rendered, kind of looks like XML. What fvcking good is that? I hate people! :|


Anyone else getting a sense of deja vu? I thought I saw this exact same post before like last year...


thats cause notfred is a bot...
 
Back
Top