Yes, you are right of course. I initially was mixed up over whether this was a replacement for just the schema definition or for XML itself too. I also thought YAML would be the choice then but RELAX seems to borrow from regular expressions which is nice, and I don't quite see how to link various YAML documents in a YAML stream to a RELAX definition.
Actually I was most impressed that there are java tools that will generate classes based on RELAX NG definitions. Which made me think RELAX-like language might be very nice as a way to quickly define lots of things, like classes, db schemas, business logic, etc. I have to study it more to really understand how far it goes though. There are so many meta description languages out now for small domains so I had a hope. Not too long ago I was looking at some of the modules that help you design classes quickly in Perl but every module has its pros and cons of course. Thank you and all other posters.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|