I have just started experimenting with this Schematron parser, and it looks like it will be very helpful on my next project. One question, though...
I notice that neither the diagnostics element nor the subject attribute of the assert or report elements is implemented, and I was planning on using one or both of them. Were they not implemented becuase a problem came up in the implementaion, or just because nobody needed them? I'm just trying to get an idea of the effort to add them while I'm scoping the project, and any info would be appreciated...
Thanks!
-Clinton Ingram
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's no technical difficulty in implementing both the subject and diagnostics schematron elements. I just didn't need them and they are not part of the basic schematron profile, so I left them out.
However, it would be good to add support for them, so fell free to do it if you want to!
I added you to the developers list so you can easily access and update the CVS.
BTW: I'm working on adding variable declarations on our implementation, as well as some of the XSLT elements (generate-id and others), and even some formatting specifics such as format-string, format-date, etc., which will work by calling the corresponding .NET formatting facilities...
Cheers,
Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I figured out I can get what I need (context-sensitive error messages) by running the output document through an XSLT, but if I have time, I would rather add diagnostic and subject support directly to the parser. I'll have to see how the rest of this project goes...
Thanks again for your quick response and for this excellent parser!
-Clinton
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-01-02
Schematron.NET doesn't seem to recognize a call to the cslt function current(). I have tried running my sample schemtron through WinTest but i get the following assertion error:
Xslt query is needed for this query because of an unknown function.
Thanks,
Pouria
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just like you sad, the current() function is an XSLT one, not an XPath one. Schematron.NET is based exclusively on XPath features.
That said, however, I've been working on adding all XSLT functions as custom extensions to Schematron.NET, so that a schema written to work with the XSLT implementation would also work with our .NET/XPath implementation.
I still haven't made my mind with regards to the key() function, as WXS already provides a very good key/unique/keyref mechanism, and I believe Schematron is best put to use when combined with it.
Ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-01-05
Thank you very much for your quick reply.
Pouria
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just started experimenting with this Schematron parser, and it looks like it will be very helpful on my next project. One question, though...
I notice that neither the diagnostics element nor the subject attribute of the assert or report elements is implemented, and I was planning on using one or both of them. Were they not implemented becuase a problem came up in the implementaion, or just because nobody needed them? I'm just trying to get an idea of the effort to add them while I'm scoping the project, and any info would be appreciated...
Thanks!
-Clinton Ingram
There's no technical difficulty in implementing both the subject and diagnostics schematron elements. I just didn't need them and they are not part of the basic schematron profile, so I left them out.
However, it would be good to add support for them, so fell free to do it if you want to!
I added you to the developers list so you can easily access and update the CVS.
BTW: I'm working on adding variable declarations on our implementation, as well as some of the XSLT elements (generate-id and others), and even some formatting specifics such as format-string, format-date, etc., which will work by calling the corresponding .NET formatting facilities...
Cheers,
Daniel
Thanks, Daniel.
I figured out I can get what I need (context-sensitive error messages) by running the output document through an XSLT, but if I have time, I would rather add diagnostic and subject support directly to the parser. I'll have to see how the rest of this project goes...
Thanks again for your quick response and for this excellent parser!
-Clinton
Schematron.NET doesn't seem to recognize a call to the cslt function current(). I have tried running my sample schemtron through WinTest but i get the following assertion error:
Xslt query is needed for this query because of an unknown function.
Thanks,
Pouria
Just like you sad, the current() function is an XSLT one, not an XPath one. Schematron.NET is based exclusively on XPath features.
That said, however, I've been working on adding all XSLT functions as custom extensions to Schematron.NET, so that a schema written to work with the XSLT implementation would also work with our .NET/XPath implementation.
I still haven't made my mind with regards to the key() function, as WXS already provides a very good key/unique/keyref mechanism, and I believe Schematron is best put to use when combined with it.
Ideas?
Thank you very much for your quick reply.
Pouria