← Prev in month ← Prev in thread
Next in thread → Next in month →

[relax-ng] Are following annotations forbidden after value and param ?

From
Eric van der Vlist <>
Date
2003-01-30T09:41:43+00:00
ID
1043919671.10902.73.camel@ibook
Thread
[relax-ng] Are following annotations forbidden after value and param ?
Can you confirm that:

      element born {
         xsd:date {
          pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}"
          >> xhtml:p [ "Add new parameters here to define a range." ]
        }
      }

is forbidden?

Of course, it would be equivalent to:

      element born {
        xsd:date {
          [
            xhtml:p [
              "Add new parameters here to define a range."
            ]
          ]
          pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}"
        }
      }

but it would seem useful to allow it as an alternative.

Thanks

Eric
-- 
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
← Prev in month ← Prev in thread
Next in thread → Next in month →