What is the meaning of POX ("plain old XML")?

I recently saw some links to POX or "plain old XML". Is there a way to simplify the use of XML?

Wikipedia says :

Typically, people use the term [POX] as a contrast to complex, multi-layered XML specifications such as for web services or RDF.

Personally, I think using XML Schemas and DTDs is too complicated, so I would welcome simplifying the use of XML. But maybe it's just me.

+3
source share
4 answers

Not really. The fact is that some people (rightfully) do not want to delve into XML / XPath / Schema / RDF / RDF-XML / OWL and much more, and they are happy to write

<MyStuff>
   <Foo>bar</Foo>
</MyStuff>

XML . , POX, JSON , .

, , -, ... . , .

+4

POX , .

+2

. xml, POX. , XML, . xsd-to-java ( xsd-to-#/Php/Ruby/etc.?). , : XSD - , xml - . . .

I generally prefer to generate schemas from class files (Java in my case), so your object model is at the center of "everything."

+2
source

I have to work with complex circuits on a daily basis. I'm upset, and most of them have a steep learning curve. Once you pass a certain level, they become very flexible, but it does not become easier.

I never write complex schemes, although I write schemes. Simplicity is my preferred method.

+1
source

Source: https://habr.com/ru/post/1722319/


All Articles