Hi List This may seem to be a silly question (it does to me ;) ) but is there any restrictions on where in a relax-ng schema the optional elements should appear? I have a schema with the optional elements mixed in amongst the non-optional elements, and whenever I try and parse a XML files that includes an optional element, the parser complains that it was not expecting the optional element.
I have run it through two parsers, both complain about the same thing. In looking through some examples from documentation, the optional elements always seem to appear last in the schema. Is this just a coincidence? Regards Rory
