wadl
  1. wadl
  2. WADL-42

Generator fails if the URL is an IP Address

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: current
    • Component/s: None
    • Labels:
      None

      Description

      If the URL if the service is an IP address then the name of the wrapping class is invalid as generated it will start with a number. The code needs to deal with the following cases:

      IP4 127.0.0.1
      IP6 ::1

      And others, perhaps in this case just providing a prefix of IP would be enough?

        Activity

        Hide
        gdavison added a comment -

        IP based addresses are prefixed with "IP" to prevent a naming problem in Java.

        http://java.net/projects/wadl/sources/svn/revision/327

        Show
        gdavison added a comment - IP based addresses are prefixed with "IP" to prevent a naming problem in Java. http://java.net/projects/wadl/sources/svn/revision/327

          People

          • Assignee:
            gdavison
            Reporter:
            gdavison
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: