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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Define a root in a DTD



>         <!-- Make the content models closed -->
>         <rule context="*">
>             <report test="1=1"
>             >The <name/> element is not known.</report>
>         </rule>

Cool.  I'm always happy to learn a new Schematron trick.  But we might
want to consider some syntactic sugar for this one.

<report test="true()"

Isn't much better.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
XML strategy, XML tools (http://4Suite.org), knowledge management