XSchema: Sections 5.0 and 5.1
Chris Maden
crism at oreilly.com
Wed Sep 23 21:51:22 BST 1998
[Ron Bourret]
> I started with XSchema and then thought xschema was easier to type
> (says he who proposed mixed case element names).
[Ahem.]
[Ron Bourret]
> > > [2] XSchemaID ::= 'xschema' Eq SystemLiteral
[John Cowan]
> > Some provision needs to be made for a PubIdLiteral as well.
[Ron Bourret]
> I wondered about this. I'll change the xschema in [2] to SYSTEM and
> add a production for PUBLIC. Two questions:
>
> 1) Are there any conventions in PIs for use/no use of equals signs?
Not formally, but the trend (in the XML declaration, the old PI-based
namespace proposal, and the experimental stylesheet PI) is towards
attribute-like syntax. It makes processing a bit easier; your
expression language can retrieve information about a PI in the same
way it retrieves information about attributes.
> 2) Do we always require a system identifier or are the choices
> system / public / both?
That's really a goals question. If the initial cut at XSchema is to
have the same (or a slight superset of) functionality of a DTD, then a
system identifier must be required. If schemas are intended to go
beyond DTDs, then consideration should be given to not requiring
system IDs. But I suspect the discussion will end up following the
same track that the XML WG/SIG took: there is no widespread mechanism
yet for resolving FPIs, and so a document will be less portable with
no system ID. But that is a long and tiring debate, and it may be
better, for now, to adopt the decision of the XML WG and require
system IDs.
-Chris
--
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list