Opened 13 years ago

Closed 12 years ago

#65 closed enhancement (fixed)

Make validation fail if two consecutive elements have the same name

Reported by: patdui Owned by: twagoo
Priority: major Milestone:
Component: ComponentRegistry Version:
Keywords: Cc:

Description

Probably holds for consecutive components as well. Basically we cannot generate an xsd with same element names (XSD unique particle attribution). As it is now that is possible with compReg. Todo make a validation that checks for this and sends back a nice message. Do this on server side so it is also validated when people import or circumvent the gui in any way.

Change History (4)

comment:1 Changed 13 years ago by twagoo

Owner: changed from patdui to twagoo
Status: newaccepted

comment:2 Changed 13 years ago by twagoo

Status: acceptedassigned

comment:3 Changed 12 years ago by twagoo

As of r1773 the editor checks for this. Schematron rules will ensure it is checked on the server as well (cf changes in this this branch).

comment:4 Changed 12 years ago by twagoo

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.