Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOCTYPE Public attribute

 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was looking at the DOCTYPE Declaration using the SYSTEM keyword and the PUBLIC one..
SYSTEM looks fine to me...
but was not able to find how the actual DTD is located in the case of the PUBLIC Keywork..
Can someone help?
 
Arun Prasath
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This is what I see from xml specification.

[Definition: In addition to a system identifier, an external identifier MAY include a public identifier.] An XML processor attempting to retrieve the entity's content MAY use any combination of the public and system identifiers as well as additional information outside the scope of this specification to try to generate an alternative URI reference. If the processor is unable to do so, it MUST use the URI reference specified in the system literal. Before a match is attempted, all strings of white space in the public identifier MUST be normalized to single space characters (#x20), and leading and trailing white space MUST be removed.

Hope it helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic