[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cmis] Nikunj's blog postings on AtomPub vs CMIS
Al Brown wrote: > Agreed. RNC is easier to read. The problem with compact notation is > using it with tools. Most tools if they support rng, support the xml > version. The rnc2rng (just tried) does not work well on the atom rng. At > least, does not generate an xml file that works with xjc. I use James Clark's "trang".... The following seems to work just fine: (1) saxon http://greenbytes.de/tech/webdav/rfc4287.xml extract-artwork.xslt name=collected-grammar.rnc > rfc4287-grammar.rnc (2) java -jar trang.jar -I rnc -O rng rfc4287-grammar.rnc rfc4287-grammar.rng > The XSDs with the CMIS are useful for creating plain java objects you > can quickly use to generate appropriate XML as well as parse XML into > these objects. Now that's the issue. When you use them to *parse*, do the behave correctly with respect to the extensibility rules? BR, Julian -- <green/>bytes GmbH, Hafenweg 16, D-48155 Münster, Germany Amtsgericht Münster: HRB5782
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]