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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Re: db._phrase


Um, no, there is no <_phrase> element.  There is a <phrase> element whose 
content is different in different contexts.  The _phrase is a named pattern 
in the RelaxNG syntax, similar to a parameter entity in DTD syntax.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Mike Maxwell" <maxwell@umiacs.umd.edu>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: <docbook@lists.oasis-open.org>
Sent: Wednesday, January 20, 2010 7:31 PM
Subject: Re: [docbook] Re: db._phrase


> Norman Walsh wrote:
>> The content model of db.phrase includes *all* the inlines. So if, for 
>> example,
>> db.phrase was allowed inside abbrev, then this would be legal:
>>
>>   <abbrev><phrase><constant>PI</constant></phrase></abbrev>
>>
>> even though this *is not* legal:
>>
>>   <abbrev><constant>PI</constant></abbrev>
>> ...
>> Make sense?
>
> I think so.  Let me paraphrase my understanding: for purposes of 
> validation, a  named doc which includes db.phrase and/or db._phrase 
> elements will validate against the DB schema if and only if the doc 
> validates when the <phrase>, <_phrase>, </phrase> and </_phrase> tags are 
> simply omitted, with one potential exception.  The exception would be if 
> the <phrase> or <_phrase> elements were marked with invalid attributes.
>
> So for purposes of validation, the db.phrase and db._phrase elements are 
> "transparent."
>
> Is that correct?
> -- 
>    Mike Maxwell
>    What good is a universe without somebody around to look at it?
>    --Robert Dicke, Princeton physicist
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]