Skip to content

jimetevenard/Maven-RelaxNG-Simplifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maven RelaxNG Simplifier Plugin

Based on Jing.

This plugin takes one or more specified RelaxNG Schemas and outputs a simplified schema according to the Simplified RelaxNG Specification

This plugin does nothing by itself.
It just calls Jing to do the job.

Usage

You can find a sample utilisation project here : https://github.com/labo-jim/Maven-RelaxNg-simplifier-exemple

You can optionally use OASIS XML Catalogs files for URI resolutions via the catalogs/catalog tags.

Here is an little exemple of plugin usage :

<execution>
	<goals>...</goals>
	
    <configuration>
		<catalogs>
			<catalog>my-catalog-file.xml</catalog>
		</catalogs>
        <schemas>
            <schema>
                <sourcePath>src/test/my-schema.rng</sourcePath>
                <targetPath>src/test/simple.srng</targetPath>
                <!-- paths are relative to project -->
            </schema>
            <schema>
                <sourcePath>src/main/grammar.rng</sourcePath>
                <!-- default targetPath is {sourcePath}.simplified.rng -->
            </schema>
        </schemas>
    </configuration>
</execution>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages