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

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


--
Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/x/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



[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