[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RelaxNG examples



David,

Thanks for your comment.

I know that there is some tool to convert a RelaxNG schema to a W3C XML Schema.
For example, "relaxer" (http://www.relaxer.org/) may have this function.

However, such conversion function does not support full features of RelaxNG and XSD.
Implementors should adjust the gap and check its consistency by themselves.
It increases development costs.

Regards,

Hideki Okita


David T. Perkins wrote:
HI,

Aren't there tools that can convert a RelaxNG document to
an XSD document? If so, would this satisfy your needs?

Regards
/david t. perkins

On Thu, 9 Nov 2006, Hideki Okita wrote:

 From implementors' viewpoint,
RelaxNG as the schema is not a good choice.


Major development environments such as Java (Apache),
Visual Studio and others has no support for RelaxNG.

Surely RelaxNG make it easy to read "directly" the NETCONF schema.
However, finally, it can decrease the development efficiency.


I do not object to use RelaxNG as the optional means.
However, XSD should remain as the default schema in NETCONF drafts.


Best regards,

Hideki Okita
Hitachi, Ltd.


References:

RelaxNG Homepage:
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=relax-ng

Apache Xerces2 Java Parser Homepage:
http://xerces.apache.org/xerces2-j/


Simon Leinen wrote:
On the ad-hoc meeting on data modeling issues, the possibility of
using RelaxNG for data modeling work was raised, and some people asked
for examples.  Here are some that are somehow related to network
management.

The Compact RelaxNG Schema for NETCONF's protocol operations (at the
time) that Rob Enns posted to the list in November 2004:

  http://ops.ietf.org/lists/netconf/netconf.2004/msg00597.html

The (Expired) draft-schoenw-nmrg-snmp-measure-01.txt contains a
RelaxNG schema for a set of information from SNMP packet traces:

  http://bgp.potaroo.net/ietf/all-ids/draft-schoenw-nrmg-snmp-measure-01.txt
--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>



--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>



--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>