Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 38864 invoked by uid 500); 28 Dec 2002 13:38:24 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 38854 invoked from network); 28 Dec 2002 13:38:24 -0000 Received: from s5.servlets.net (209.221.135.8) by daedalus.apache.org with SMTP; 28 Dec 2002 13:38:24 -0000 Received: from TILLER (localhost.localdomain [127.0.0.1]) by s5.servlets.net (8.9.3/8.9.3) with SMTP id FAA28918 for ; Sat, 28 Dec 2002 05:38:24 -0800 From: "Robert Koberg" To: Subject: RE: [RT] Entities in XML docs Date: Sat, 28 Dec 2002 05:36:31 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20021228065426.GA943@expresso.localdomain> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, > -----Original Message----- > From: Jeff Turner [mailto:jefft@apache.org] > Sent: Friday, December 27, 2002 10:54 PM > > > An attribute type of NMTOKEN also exists. I'm not sure whether you can > > declare 'any' attribute in RNG while still specifying the type being > > NMTOKEN or something similar, but 'someone will tell me' ;-) > > There's a NMTOKEN datatype in XSD or something that we could use. Something like? ... en-us bg ... > > > >Finally, we could never have a RNG or DTD for site.xml, because it is > > >intended to be arbirtarily extended, vertically by whatever page > > >classification scheme the user wants, and horizontally with whatever > > >page metadata the user wants. There could be attributes for > > >timestamps, access levels, difficulty levels, related pages, bogosity > > >readings, anything. At best, we could have a Schematron enforcing the > > >presence of minimal metadata, ie @href. Even @label is optional, eg: > > > > > > > > > > > > > > > > In my mind and practice, I only use Schematron for things which can't be > > expressed in other grammar languages, i.e. context- or value-dependent > > values or models, like: > > > > the contentmodel for element c depends on the value of the attribute b > > attached to some element a > > > > and even then, I wonder how that would like in Schematron :-s > > Oh well, any old schema language.. in the end, we still have an > arbirtarily structured file where the only thing validatable is metadata. Well, if content pieces have links that use IDs (or element names as IDs) from the site.xml you can use schematron or just XSLT and document() to validate links. I am not clear on how to make an element name a validatable ID in RNG. > > Thinking about it, RDF might be a good way to express metadata about > files in a website. Didn't Tim Bray or someone recently come up with a > Notation that Doesn't Suck? I can't seem to find it. Anyone here know > anything about RDF? :) Is it usable by mortals to store metadata about a > site? This is not exactly what you are asking for but perhaps checkout: http://dublincore.org/documents/2002/07/31/dcmes-xml/ best, -Rob