You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using this library and it looks like xs:maxLength and xs:minLength restrictions are not yet implemented. I would like to contribute to this project to add these restrictions and some other common restrictions too.
Can you please tell me where will be best place to add such restrictions validation in the library so that text editor will have maximum length restriction and other common restrictions that are used in xml schema.
The text was updated successfully, but these errors were encountered:
Another person was looking at implementing some restrictions, including maxLength, but I'm not sure how far superinconnu got with it. You can see the issue here and my thoughts about how I would implement it:
The second part of my answer in that post only really applies to the graphical editor. Implementing the restrictions in the text editor (preferably as highlighted or marked errors rather than interfering with user input) would require some investigation into the ajax ace editor. I haven't looked into this before, but my guess is it would involve either extending the XML highlighter or using the syntax validation mechanisms mentioned here:
I was using this library and it looks like xs:maxLength and xs:minLength restrictions are not yet implemented. I would like to contribute to this project to add these restrictions and some other common restrictions too.
Can you please tell me where will be best place to add such restrictions validation in the library so that text editor will have maximum length restriction and other common restrictions that are used in xml schema.
The text was updated successfully, but these errors were encountered: