Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1255

Unresolved variables in Italian localization of error messages into XMLSchemaMessages properties file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.6.2
    • None
    • Other
    • None
    • Italian localization

    Description

      A lot of messages into XMLSchemaMessages_it.properties file are not properly written.
      Following there are 2 of these messages as examples :

      cvc-complex-type.2.4.a = cvc-complex-type.2.4.a: \u00c8 stato rilevato un avvio contenuto non valido con l''''elemento ''

      {0}''. \u00c8 previsto uno di ''{1}''.
      cvc-complex-type.2.4.b = cvc-complex-type.2.4.b: Il contenuto dell''''elemento ''{0}

      '' non \u00e8 completo. \u00c8 previsto uno di ''

      {1}''.

      They do not properly apply the rule into the starting section of the file that I'm reporting here:

      # If you are using the IBMJDK11 markup table or are a developer working
      # with this file in a text editor, use the following rules for
      # apostrophe characters:
      # a) If there are inserts in the message, for example "{0}", then
      # type two apostrophe characters, that is "''".
      # b) If there are no inserts, then just type a single apostrophe.
      # Examples:
      # a) message.xml.parserError.prefix=UDUT0036E: Erreur de l''analyseur syntaxique : {0}
      # b) error.getAuthInfoFailed=UDUT0078E: Impossible d'obtenir authinfo.


      They use 4 apostrophes instead of 2 and this prevent the the inserts to be properly resolved.


      As example this is the behaviour of the error message dispalayed by the application in the italian localization:
      "cvc-complex-type.2.4.a: E stato rilevato un avvio contenuto non valido con l'elemento '{0}'. E' previsto uno di '{1}

      '."
      where the inserts

      {0} and {1} are unresolved.

      while the french one look like this:
      "cvc-complex-type.2.4.a : Contenu non valide commen?ant par l'?l?ment 'jsdl:candidateOperatingSystems'. Contenu de '{WC[##other:"http://www.ibm.com/xmlns/prod/scheduling/1.0/jsdl"], "http://www.ibm.com/xmlns/prod/scheduling/1.0/jsdl":operatingSystem}' attendu."

      where the inserts {0}

      and

      {1}

      are properly resolved.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mpontrel monica pontrelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: