News for hackers. Stuff that matters.
Re:With 'The Machine,' HP May Have Invented a New Kind of Co... by Touche on Wednesday June 11, 2014 @04:23PM (#7880212)
Just to be clear, are some closing tags optional or are all closing tags optional? If the former, how do you know which?
Re:With 'The Machine,' HP May Have Invented a New Kind of Co... by Tuna-Fish on Wednesday June 11, 2014 @08:43PM (#7881242)
In this case, the schema probably disallows any other tags inside <line>, which makes </line> superfluous and it can thus be omitted. If <stanza>s are not recursive and poems cannot contain <line>s outside <stanza>s, </stanza> can also be omitted. Etc etc.
Re:With 'The Machine,' HP May Have Invented a New Kind of Co... by justincormack on Wednesday June 11, 2014 @04:45PM (#7880337)
You work it out from the schema - if it is not ambiguous you can omit it.