Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-446

too restrictive prefix constraint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Version 2.3, Version 2.4 , Version 2.5
    • None
    • None
    • None

    Description

      XML Specification clearly states that when declaring namespace bindings prefixes starting with "xml" are reserved and must not be used. However it also states that processors must NOT treat them as fatal errors. Current implementation fails to parse XML files with such prefixes:

      org.apache.xmlbeans.XmlRuntimeException: error: Prefix can't begin with XML: xml2uddi_portType
      at org.apache.xmlbeans.impl.store.Locale$SaxHandler.startPrefixMapping(Locale.java:3321)
      ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            vojta.janota Vojtech Janota
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: