summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/attr.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/attr.c b/src/core/attr.c
index 6032eb9..9da6ae3 100644
--- a/src/core/attr.c
+++ b/src/core/attr.c
@@ -31,13 +31,8 @@ struct dom_element;
struct dom_attr {
struct dom_node_internal base; /**< Base node */
- bool specified; /**< Whether the attribute is specified
- * or default */
-
struct dom_type_info *schema_type_info; /**< Type information */
- bool is_id; /**< Whether this attribute is a ID attribute */
-
dom_attr_type type; /**< The type of this attribute */
union {
@@ -46,6 +41,10 @@ struct dom_attr {
bool bvalue;
} value; /**< The special type value of this attribute */
+ bool specified; /**< Whether the attribute is specified or default */
+
+ bool is_id; /**< Whether this attribute is a ID attribute */
+
bool read_only; /**< Whether this attribute is readonly */
};