Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Whiz Labs question error

 
Harsha Jay
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the question in whizlabs suggests the following DTD to be validated right against the xml shown

I don't think that element root can be declared twice to begin with in the DTD and it is itself not valid even before we try to validate against the xml
[ November 03, 2003: Message edited by: Harsha Jay ]
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that element root can be declared twice to begin with in the DTD

Well I think this is correct. Two elements cannot have the same name in a dtd
[ November 04, 2003: Message edited by: Rahul Mahindrakar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic