my dog learned polymorphism*
The moose likes XML and Related Technologies and the fly likes SYSTEM vs PUBLIC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "SYSTEM vs PUBLIC" Watch "SYSTEM vs PUBLIC" New topic
Author

SYSTEM vs PUBLIC

Vishakha Ahuja
Ranch Hand

Joined: Sep 13, 2000
Posts: 191
<!DOCTYPE root-element SYSTEM "URL of DTD">
<!DOCTYPE root-element PUBLIC "URL of DTD">
What is the difference b/w SYSTEM and PUBLIC ?
David Freels
Ranch Hand

Joined: Feb 01, 2001
Posts: 102
Originally posted by Vishakha Ahuja:
<!DOCTYPE root-element SYSTEM "URL of DTD">
<!DOCTYPE root-element PUBLIC "URL of DTD">
What is the difference b/w SYSTEM and PUBLIC ?

SYSTEM specifies the URI location of a DTD for private use in a document.
PUBLIC is used in situations where a DTD has been publicized for widespread use.
Definitions taken from XML Pocket Reference. O'Reilly. Robert Eckstein.
david
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SYSTEM vs PUBLIC
 
Similar Threads
Multiple Root Elements in DTD
SAXParseException
How to incluse a dtd.
external DTD file questions
Internal DTD & External DTD