-
-
Notifications
You must be signed in to change notification settings - Fork 308
Open
Description
| Q | A |
|---|---|
| Bug report? | yes |
Steps required to reproduce the problem
- Add 2 attributes in a model, one of those attribute named
xmlns, the other one doesn't matter the name
/**
* @var string
* @SerializedName("xmlns")
* @Groups({"xml_import"})
* @XmlAttribute
*/
private string $xmlns = 'string';
- Try to order those attributes with
@AccessorOrder - Check that any any case,
xmlnsis always at first place
Expected Result
- Attribute should be in order specified in the
@AccessorOrder(or in the order they are defined in the Model if no AccessorOrder).
Actual Result
xmlnsis always rendered in first place.- Even though
xmlnsis aXmlNamespace, we should be able to position it where we want ?
Metadata
Metadata
Assignees
Labels
No labels