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

Fatal Error:The prefix "xmlns" cannot be bound to any namespace explicitly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 2.6.2
    • None
    • None
    • Operating System: All
      Platform: All
    • 28220

    Description

      My xml contains this:
      <name xml:lang="en">

      once it is passed to org.apache.xerces.jaxp.SAXParserImpl.parser method,
      'xmlns:xml="http://www.w3.org/XML/1998/namespace"' is added:

      <name xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">

      if sending a request containing above, got an error from Microsoft UDDI registry
      server reply:
      Fatal Error: URI=null Line=1: The prefix "xmlns" cannot be bound to any
      namespace explicitly; neither can the namespace for "xmlns" be bound to any
      prefix explicitly.

      The same problem is also posted at
      http://www.mail-archive.com/axis-user@xml.apache.org/msg18211.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            shana_tong@hotmail.com Shana Tong
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: