[relaxng-user] groupability

James Clark jjc at jclark.com
Fri Dec 5 08:38:03 ICT 2003


On Fri, 2003-11-28 at 20:58, David Tolpin wrote:

> I must resolve all references (ref,parentRef) before checking groupability
> restrictions, right?

Yes.  The groupability restrictions are expressed on simple form.

> That is, I cannot do it in one pass and must carry information about the position
> of a pattern in the source code to the second pass?

If you want to report position information for violations of
groupability restrictions, then I think the schema parser has to create
structures with position information.

James




More information about the relaxng-user mailing list