1 |
On 03/02/16 21:46, Dirkjan Ochtman wrote: |
2 |
> On Tue, Feb 2, 2016 at 3:18 PM, Justin Lecher (jlec) <jlec@g.o> wrote: |
3 |
>> Could you please sum up the thread and come up with some precise |
4 |
>> question we should discuss or vote on. |
5 |
> |
6 |
> The question is: what language should we use for XML validation in the future? |
7 |
> |
8 |
> There are two main contenders: RELAX NG (with a compact and an XML |
9 |
> serialization) and XML Schema. Of course conversion between these |
10 |
> schema formats is possible, but the question is what the canonical |
11 |
> language should be and what other formats would be provided (and how). |
12 |
> |
13 |
> Summary: |
14 |
> |
15 |
> - I contended that RELAX NG compact serialization is more readable, |
16 |
> and that DTD and RELAX NG validation are equally fast. I don't have |
17 |
> much experience with XML Schema, but I do have a conversion tool for |
18 |
> RNC (compact RELAX NG) -> RNG (RELAX NG XML syntax). |
19 |
> - MichaĆ has used both RELAX NG and XML Schema, and prefers the |
20 |
> latter. It's more popular, and it seems that cross-referencing things |
21 |
> is not supported (trivially) in RELAX NG, whereas it should be in XML |
22 |
> Schema. |
23 |
> - Robin prefers XML Schema, but can live with both. |
24 |
> - trang seems to be a pretty decent tool for schema conversion, but it |
25 |
> doesn't handle XML Schema as an input language (likely because of the |
26 |
> complexity of XML Schema). |
27 |
> - There is a standard for referring to RELAX NG or XML Schema schemas |
28 |
> from XML documents, which would be useful for tool authors. |
29 |
> - emacs nXML mode works only with RNC schema, which is a reason for |
30 |
> Ulrich to prefer it. |
31 |
> - Brian seems to like RNC for readability/flexibility reasons. |
32 |
> |
33 |
> I hope other will jump in if they feel I missed |
34 |
> something/misrepresented their opinions. |
35 |
> |
36 |
> Cheers, |
37 |
> |
38 |
> Dirkjan |
39 |
> |
40 |
|
41 |
Thanks Dirkjan for the summary. |
42 |
|
43 |
Justin |