• Post Reply Bookmark Topic Watch Topic
  • New Topic

HF Chapter 10, Q17  RSS feed

 
David Jones
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

On Page 557, Q17, I don't understand why A is correct. This is because the question mentioned that "Both tags are declared to be non-empty and non-tag dependent in the TLD". But as A :

<my:simpleTag>
<my:complexTag />
</my:simpleTag>

It seems that complextTag is empty body. So why A is the correct answer?

Thanks
David
 
Narayan R
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even if complextag is defined "not empty" , Keeping it empty will not cause any error and si valid. The other way around will cause error though.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!