I'm trying to add extra validation to jdpl process-definition files using XSD.
We have a couple of rules we want to add; but the one that's causing me problems is that there must exist one "node" element with it's "name" attribute = "Problem".
so this is valid:
<process-definition name='sample'>
<node name="Problem">
</node>
...
As far as I can tell, JAXP by default supports W3C XML Schema and RelaxNG from Java 6.
I can see a few APIs, mostly experimental or incomplete, on the schematron.com links page.
Is there an approach on validating schematron in Java that's complete, efficient and can be used with the JAXP API?
Thanks
...
Hello .. I am interested to learn Schematron .. Please suggest me a tutorial to practice (I am expecting a complete tutorial where I can develop my skills,,
well. I already know the basics of DTD, XSD and XSLT ..) ..
I have tried using Zvon tutorials and Schematron.com,
And also ... I have been struggling to find the schematron-edito...
Hi,
I'm trying to add schematron validation to my xsd.
This is my new xsd :
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
xmlns:sch="http://www.ascc.net/xml/schematron"
elementFormDefault="qualified" >
<xs:element name="books">
<xs:complextype>
<xs:sequence> ;P
<xs:element name="book" type="bo...
How can we validate xml document by either schematron or xslt in Eclipse xml editor? The idea is to extend xml document live validation in eclipse xml editor with some rules based validation method.
...
Hi, I'm trying to write some Schematron rules and one of them is supposed to check, if elements are unique in the scope of parent element. So I have an example xml structure:
<abc>
<elem id="qw0">
<a>1</a>
<a>2</a>
<a>3</a>
</elem>
<elem id="qw1">
<a>1</a>
<a>2</a>
<a>3</a>
<a>3</a>
</elem>
</abc>
M...