This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Product and Other Certifications and the fly likes a simple question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "a simple question" Watch "a simple question" New topic

a simple question

jim yin
Ranch Hand

Joined: Aug 15, 2002
Posts: 111
This is from w3school quiz:
Which statement is true?
1) All XML elements must have a closing tag
2) All XML documents must have a DTD
3) All XML elements must be lower case
4) All the statements are true
Jayadev Pulaparty
Ranch Hand

Joined: Mar 25, 2002
Posts: 662
only the statement 1) is true

Joined: Oct 06, 2002
Posts: 2
option number d is the correct answer
Kris Mann

Joined: Oct 06, 2002
Posts: 8
Well-formedness Rules indicate that,
1.Every start tag must have a corresponding end tag
2.Element names begin with a letter such as y or A or an underscore _.
Thus <HELP>,<Book>,<volume> are all valid names irrespective of case.
3.For validation , I could use a Schema / DTD. To ensure that the document is only well-formed, I need not use either a DTD/ Schema
That is why, only (1) is true.

Thanks<br />Kris
I agree. Here's the link:
subject: a simple question
It's not a secret anymore!