XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] 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@CraneSoftwrights.com] 
 
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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS