File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
How to incluse a dtd.
SAXParseException
Multiple Root Elements in DTD
Internal DTD & External DTD
external DTD file questions