Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Menu unauthorized tag error!

2012-10-30
2013-05-01
  • Hi,

    I want to use menus in Jaxe editor for my xml files based on a custom designed XML Schema (xsd) file, but get an Unauthorized tag error, when I want to insert a tag using the menu item!

    I can edit xml based on the xsd file without problems, but inserting tags via menuitems poses problems!

    Probably I'm doing something wrong, but can't figure out what.

    Any hint would be welcomed, thanks in advance!

    Regards,
    VerhaagGCHM

     
  • Normally it means that the element you are trying to insert is not allowed at the cursor position (inside the parent element of the cursor, based on the schema).
    Could you post your schema and config file (or a simplified version) ?

     
  • Hi,

    SOLVED! I wasn't aware of the upper/lowercase sensitivity! The tag causing the problem was in lowercase, while the nom attribute in my MENU_INSERTION tag started in uppercase, sorry!

    Regards,
    VerhaagGCHM

     
  • Yes, XML is case sensitive (as opposed to SGML).
    You could have avoided this problem by using the config editor (editeurconfig.jar): it suggests menus based on the schema.