|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Relax NG annoyances
From: "Jimmy Cerra" <jimbolist@h...> > Why isn't there a more complete datatyping language? Answer 1. Yes, there is: Schematron. James' latest version of Jing provides RELAX NG, Schematron and the NRL language which allows them to be used together nicely. Of course, Schematron is aimed more at validation rather than datatyping, but then so is RELAX NG. Schematron lets you take apart expressions (using Xpath's string functions): this is not so good for lists but good for multipart values, for constraints such as "The part number of a widget must begin with the string 'WG'". Answer 2. Because you haven't developed it yet. RELAX NG (and Schematron) was made with the view that W3C XML Schemas, though excellent in many ways, got it really wrong in being un-modular. This will show up over time as it becomes very difficult to make any kinds of changes. So RELAX NG does not attempt to make its own datatyping language, it allows you to invoke some other. If you don't like the W3C primitives that Jing uses, yall can put up an alternative set. Personally, I think it is high time for people who don't like the W3C datatypes to band together to make a concrete alternative. Cheers Rick Jelliffe
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








