Menu

value-of

2004-10-15
2013-04-02
  • steve baker

    steve baker - 2004-10-15

    Hi there
    like the look of this but have a couple of questions...
    Are there any plans to add schematron 1.6 support - specifically, are there plan to add support for valu-of within assert / reports?

    Also, looking at the test.cs code, there is a TODO about using the XML in the message, rather than regular expressions - any plans to do this?  What are the issues here - from a 5 min skim see that you are dealing with strings rather than xml at that stage in processing - is this a speed led design consideration?

    Will look into this further when I get the chance but be good if you could provide a bit of the thinking behind this or a link to further documentation if there is any

    Thanks
    Steve

     
    • Daniel Cazzulino (kzu)

      Next major version (will be carried on the Mvp.Xml project, but I'll keep this project posted about the releases and the move) will aim to support the Schematron ISO version (http://www.dsdl.org/0524.pdf).

      About usage of regular expressions, that's going to change too. Only reason to do it that way is that it was easier to preserve all formatting and process it as the only element allowed was <name/>, which was almost a matter of a string replacement. With the new value-of that will change a little.

      I'm also more encouraged now after MS confirmed that XQuery will not make it in .NET v2, because I was concerned that an XQuery-based implementation of Schematron logic would be the way to go, specially given the amazing performance it would have as the query will be compiled to IL by the .NET XQuery engine. Now that that option is unavailable for at least another 3/4 years, it's worth it to make the major revamp using raw System.Xml classes.

      One other issue: most probably the new version will be .NET v2-only... sorry for that, but I need to learn the new things in System.Xml v2... maybe the community can backport it later?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.