incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devin Han (Commented) (JIRA)" <>
Subject [jira] [Commented] (ODFTOOLKIT-305) Update ODF 1.2 schema to OpenDocument-v1.2 final version
Date Fri, 24 Feb 2012 06:38:48 GMT


Devin Han commented on ODFTOOLKIT-305:


The enumeration in odfdom\src\main\java\org\odftoolkit\odfdom\dom\attribute\text\
is still there. See:
+	 * The value set of {@odf.attribute text:outline-level}.
+	 */
+	public enum Value {
+		_1("1"), _2("2"), _3("3"), SEPARATOR("separator") ;
+		private String mValue;
+		Value(String value) {
+			mValue = value;
+		}
+		@Override
+		public String toString() {
+			return mValue;
+		}
+		public static Value enumValueOf(String value) {
+			for(Value aIter : values()) {
+				if (value.equals(aIter.toString())) {
+				return aIter;
+				}
+			}
+			return null;
+		}
+	}

It's a reasonable fix according to

Missed you message, sorry...
For committor is CTR, for others are RTC. We have discussed this in the mail list.
Do you think there is a lovely reviewer help me review? No, nearly always. Then how long I
need to wait for the potential reviewer?
You also are the committor, if you don't like it, you can rollback.

As, you said ODFTOOLKIT-199 is a random issue. Why do you think the former one is better than
this one?

Update to ODF 1.2 final version is a group of work, include ODFDOM, Taglet and Validator.
Please forgive me, I have do it step by step. So don't worry about the old download link in
ODF Validator. You can see I just update Taglets. ODF Validator is the next one.

BTW: The suggestion that bring the ODF schema to a Maven repository is very valueable, but
we can't do it. It's owned by OASIS, not ODF Toolkit.

> Update ODF 1.2 schema to OpenDocument-v1.2 final version
> --------------------------------------------------------
>                 Key: ODFTOOLKIT-305
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Improvement
>          Components: odfdom
>    Affects Versions: 0.8.8
>            Reporter: Devin Han
>            Assignee: Devin Han
>              Labels: ODF1.2
> The final ODF 1.2 schemas were published last month, see:
> And we just updated the code generator to support mainfest and data dignature element/attribute
in issue ODFTOOLKIT-199.
> So I think it is time to update to the newest schemas for ODFDOM.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message