[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Some Problems about Sax
That is correct although in practice, file system names are the basis for mapping. Given the differences among operating systems it was impractical to specify a means of resolution but hidden behind the spec-ese is the concept of mapping published names to locations. len From: G. Ken Holman [mailto:gkholman@C...] At 2007-12-10 15:57 +0800, james jiang wrote: > I'am confused about the concept of SystemId and publicId in > sax. Could anyone tell me the difference between them and what they > exactly mean. The system identifier is a reference to external resource. When on the DOCTYPE, that resource is a parameter entity that defines the external declaration subset of either or both vocabulary constraints (element content models and attribute definitions) and entity replacement text. The public identifier can only be specified in conjunction with the system identifier, not alone. A processor looking for information from any external resource can choose to try and resolve the public identifier, or choose to ignore it and just use the system identifier. The specification does not indicate how resolution is done. Formally these are defined here: http://www.w3.org/TR/2006/REC-xml-20060816/#NT-ExternalID I hope this helps. . . . . . . . . . . . Ken This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|