OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Entities in XSchema (was: XSchema Spec, Sections 2.0 and 2.1 ...)

[ Lists Home | Date Index | Thread Index ]
  • From: Toby Speight <tms@ansa.co.uk>
  • To: "XML developers' list" <xml-dev@ic.ac.uk>
  • Date: 09 Jun 1998 10:30:10 +0100

Chris> Chris Maden <URL:mailto:crism@oreilly.com>

=> In article <199806082016.QAA06111@ruby.ora.com>, Chris wrote:

Chris> I think the problem of defining entity replacements is
Chris> fundamentally different from defining element structures,
Chris> and should be addressed separately. ... [T]he two things
Chris> should not be conflated as DTDs conflate them.

I'm in general agreement that a notation for defining general entities
should be separated from XSchema, which shouldn't try to take on more
than declaring element structure.

The one case where the two meet is when a default value is specified
for an attribute of type ENTITY or ENTITIES.  If the two are
separated, it becomes difficult or impossible for an XSchema processor
to ensure that the entity exists.


Chris> We tried to kill [parameter entities] in XML, but couldn't
Chris> because they're so useful.  ... [S]ince the syntax is going to
Chris> be more verbose, the gain in reusing pieces is larger.

You can declare general entities internal to a XSchema document (at
least I think you can - the section on conformance needs to explicitly
allow this).

-- 


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

Copyright 2001 XML.org. This site is hosted by OASIS