A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Engineering
»
XML and Related Technologies
Author
DTD and extra tags
Sai Prasad
Ranch Hand
Joined: Feb 25, 2002
Posts: 560
posted
Oct 15, 2003 09:57:00
0
Hello All,
Is it valid to create an xml document that should conform to a DTD with extra tags not listed in DTD? Thanks.
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
5
posted
Oct 15, 2003 11:09:00
0
No. The DTD has to define all elements used in the XML document.
Author of
Test Driven
(2007) and
Effective Unit Testing
(2013) [
Blog
] [
HowToAskQuestionsOnJavaRanch
]
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: DTD and extra tags
Similar Threads
Parsing Error in web.xml
Converting XML into legacy record layout
Some Tips on SCWCD Exam
dtd tags
Could not parse hibernate.cfg.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter