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

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

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


Subject: [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
------------------------------------------------------------------------



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


Powered by eList eXpress LLC