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

XSComplexTypeDecl. setValues ignores the name param I passed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • XML Schema API
    • None

    Description

      public void setValues(String name, String targetNamespace,
      XSTypeDefinition baseType, short derivedBy, short schemaFinal,
      short block, short contentType,
      boolean isAbstract, XSAttributeGroupDecl attrGrp,
      XSSimpleType simpleType, XSParticleDecl particle,
      XSObjectListImpl annotations)

      { fTargetNamespace = targetNamespace; fBaseType = baseType; fDerivedBy = derivedBy; fFinal = schemaFinal; fBlock = block; fContentType = contentType; if(isAbstract) fMiscFlags |= CT_IS_ABSTRACT; fAttrGrp = attrGrp; fXSSimpleType = simpleType; fParticle = particle; fAnnotations = annotations; }

      What happened to the name param, I passed?

      Add the following line:
      fName = name;

      Attachments

        Activity

          People

            Unassigned Unassigned
            anil Anil Saldhana
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: