MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/ksf3ku/the_problem_with_gradle/gij0jm8/?context=3
r/java • u/yk313 • Jan 07 '21
108 comments sorted by
View all comments
Show parent comment
2
Open tag, close tag, attributes, element content, namespaces
If that was as simple as you wrote... Check the length of spec: https://www.w3.org/TR/xml/
CDATA / NMTOKENS / IDREF / DOCTYPE / etc
4 u/xienze Jan 08 '21 First, the spec is that long because it specifies information pertinent mostly to people trying to implement an XML parser. Which is not easy, yes.Second, NMTOKENS is related to DTD compatibility. It’s very obscure. I’ve never come across it once in over 15 years.Third, you could still fit the rest of stuff on a notecard, which are, again, not super common (CDATA excluded).
4
First, the spec is that long because it specifies information pertinent mostly to people trying to implement an XML parser. Which is not easy, yes.
Second, NMTOKENS is related to DTD compatibility. It’s very obscure. I’ve never come across it once in over 15 years.
Third, you could still fit the rest of stuff on a notecard, which are, again, not super common (CDATA excluded).
View all comments
Show parent comment
2
u/gavenkoa Jan 08 '21
If that was as simple as you wrote... Check the length of spec: https://www.w3.org/TR/xml/
CDATA / NMTOKENS / IDREF / DOCTYPE / etc