| 1 | package com.thaiopensource.validation; |
| 2 | |
| 3 | import javax.xml.XMLConstants; |
| 4 | |
| 5 | /** |
| 6 | * Some useful constants for the names of schema languages. |
| 7 | */ |
| 8 | public class Constants { |
| 9 | private Constants() { } |
| 10 | |
| 11 | /** |
| 12 | * URI representing the Relax NG Compact Syntax schema language. |
| 13 | * @see javax.xml.validation.SchemaFactory#newInstance(String) |
| 14 | */ |
| 15 | static public final String RELAXNG_COMPACT_URI |
| 16 | = "http://www.iana.org/assignments/media-types/application/relax-ng-compact-syntax"; |
| 17 | |
| 18 | /** |
| 19 | * URI representing the Relax NG XML Syntax schema language. |
| 20 | * Identical to XMLConstants#RELAXNG_NS_URI |
| 21 | * @see javax.xml.validation.SchemaFactory#newInstance(String) |
| 22 | */ |
| 23 | static public final String RELAXNG_XML_URI = XMLConstants.RELAXNG_NS_URI; |
| 24 | } |