#ABNF 1.0; /* Copyright 1998-2002 W3C (MIT, INRIA, Keio), All Rights Reserved. Permission to use, copy, modify and distribute this SRGS grammar and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the grammar for any purpose. It is provided "as is" without expressed or implied warranty. */ language en-US; mode voice; root $main; meta 'description' is 'Implementation Report test -- reference to the root rule of a grammar identified by URI'; meta 'info.1' is 'The behavior of this test depends on the media type returned by the server. There are three cases which must be tested. (1) If the server returns application/srgs+xml, the grammar runs successfully and out.1 should be produced. (2) If the server returns a media type other than application/srgs+xml, an error must be produced. (3) Finally, if the server returns nothing, the behavior is platform dependent. Platforms supporting introspection should produce a warning and must succeed. Platforms not supporting introspection must produce an error.'; meta 'in.1' is 'oranges'; meta 'out.1' is '$main[$<./ruleref-local.gram>[$fruit["oranges"]]]'; /** * @example oranges * @example apples */ private $main = $<./ruleref-local.gram> ;