<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2><BR><B>From:</B> owner-xml-dev@ic.ac.uk
[mailto:owner-xml-dev@ic.ac.uk]<B>On Behalf Of</B> Thierry Thelliez<BR><SPAN
class=660294004-16101998><FONT color=#0000ff face=Arial size=2>
</FONT><B></B></SPAN><BR></FONT></DIV>We are attempting to implement XML for
one of our projects. <BR>There is a need for our users to cross reference
documents/data. <BR>We were looking for a way to generate/format a universal
ID. <BR>FPI seems to solve this issue but:
<P>1- Why having yet another syntax ? I mean <BR>-//myOrg//myDocType
myDocName//en <BR>could be: <BR><Registered>No</Registered>
<BR><Org>myOrg</Org>
<BR><DocType>myDocType</DocType>
<BR><DocName>myDocName</DocName> <BR><Lang>en</<SPAN
class=660294004-16101998><FONT color=#0000ff face=Arial size=2>
</FONT></SPAN>Lang><SPAN class=660294004-16101998><FONT color=#0000ff
face=Arial size=2> </FONT></SPAN>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial size=2>It
could be, but then you couldnt use it inside attributes (unless you put in a
processor to parse tags) or thePUBLIC identifier field of an entity
declaration (unless ditto). </FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2></FONT></SPAN><SPAN class=660294004-16101998><FONT color=#0000ff
face=Arial size=2>The question is the same as "why aren't URLs marked
up using element syntax?" Various previous DTDs have tried to do this,
and they have not been as successful. I think the reason can be
explained by the software engineering concept of "cohesion and
coupling": some kinds of data so naturally cohere to each other
(i.e. in the minds of users) that it is wise to couple them (i.e. in their
syntax) strongly. In particular, some strings have certain qualities
where our minds accept them as names: I think URLs, FPIs and MIME types are
such. </FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial size=2>In
my book on document patterns I discuss this. I would also mention that these
kind of compound names correspond to the "natural document"
pattern, in that they have ( metadata, data, annotations ). When there is
one natural document embedded in a different type of document (i.e. code
inside text, FPI inside attribute) it seems that humans appreciate this
being flagged: especially if no formatting is available, a change of
notation will be used. </FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial size=2>Why
does CSS not use instance notation (apart from not upsetting dumb HTML
browsers)? I think it is exactly this reason that an embedded document of a
completely different document type (as far as its function is
concerned) is best marked up by clearly flagging it by using a
differnet notation.</FONT></SPAN></P>
<P><FONT color=#0000ff size=2>In other words</FONT></P>
<P><FONT color=#0000ff size=2><a
href="http://www.w3.org/TR/"></FONT></P>
<P><FONT color=#0000ff size=2>is not the same as</FONT></P>
<P><FONT color=#0000ff size=2><a href:met<SPAN
class=660294004-16101998><FONT color=#0000ff face=Arial
size=2>hod="http" href:node="www.w3.org"
href:directory="TR/" </FONT></SPAN>><SPAN
class=660294004-16101998><FONT color=#0000ff face=Arial
size=2> </FONT></SPAN></FONT></P>
<P><FONT color=#0000ff size=2><SPAN class=660294004-16101998><FONT
color=#0000ff face=Arial size=2>but</FONT></SPAN></FONT></P>
<P><FONT color=#0000ff size=2><SPAN class=660294004-16101998><FONT
color=#0000ff face=Arial size=2><FONT color=#0000ff size=2><a
href:met<SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2>hod="http" href:node="www.w3.org"
href:directory="TR/" href:combine-notation="URL
Syntax"</FONT></SPAN>></FONT> </FONT></SPAN></FONT></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial size=2>I
think XMLers should not go too far in saying that instance syntax is always
preferable to little languages (embedded notations), in particular when the
function of the embedded language is not structural markup but for naming or
locating or stylesheets.</FONT></SPAN></P>
<P>2- Where can I find more info about FPIs ? I spend a long time with <BR>a
web search engine but got only few interesting documents. Where can I
<BR>find ISO 9070 related documents ? The ISO web site is not very user
friendly <BR>for a first timer.
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2>Several (most?) SGML books have information on FPI syntax.
Online try Robin Cover's SGML site first.</FONT></SPAN>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2> </FONT></SPAN>3- Assuming that we keep this syntax, would it be
valid to have something <BR>like: <BR>-//anOrg::anAuthor//aDocType
aDocName::aVersionNumber//en </P>
<P>or even worse:
<P>-//aCountry::anOrg::aDepartment::anAuthor//aDocType::aDocTypeVersionNumber
aDocName::aDocVersionNumber//en <SPAN class=660294004-16101998><FONT
color=#0000ff face=Arial size=2> </FONT></SPAN>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2>After the "-//" you can use any convention you want for the
"owner of FPI" and "name" field. the syntax
is</FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2> -//owner of FPI//type
name//lang</FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2>where the "type" is defined in the SGML standard: e.g. DTD,
ENTITIES, NOTATION, TEXT, NONSGML (capitals) and the "lang"
(capitals) is the language code of the FPI (and therefore probably of the
resource). Why "even worse"? If that is what is
required to specify it exactly enough, that is great. </FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial size=2>ISBN
and IDN (Internet Domain Name) "owners" may use the
form</FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2></FONT></SPAN><SPAN class=660294004-16101998><FONT color=#0000ff
face=Arial size=2> +//ISBN number//type
name//lang </P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial
size=2></FONT></SPAN><SPAN class=660294004-16101998><FONT color=#0000ff
face=Arial size=2> +//IDN addess//type
name//lang</FONT></SPAN></FONT></SPAN></P>
<P><SPAN class=660294004-16101998><FONT color=#0000ff face=Arial size=2>Rick
Jelliffe</FONT></SPAN></P></BLOCKQUOTE></BODY></HTML>