• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

SYSTEM vs PUBLIC

 
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<!DOCTYPE root-element SYSTEM "URL of DTD">
<!DOCTYPE root-element PUBLIC "URL of DTD">
What is the difference b/w SYSTEM and PUBLIC ?
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!