| <?xml version="1.0" encoding="UTF-8"?> | |
| <?eclipse version="3.4"?> | |
| <!-- | |
| /******************************************************************************* | |
| * Copyright (c) 2010 Sean Muir | |
| * All rights reserved. This program and the accompanying materials | |
| * are made available under the terms of the Eclipse Public License v1.0 | |
| * which accompanies this distribution, and is available at | |
| * http://www.eclipse.org/legal/epl-v10.html | |
| * | |
| * Contributors: | |
| * Sean Muir (JKM Software) - initial API and implementation | |
| * | |
| * $Id$ | |
| *******************************************************************************/ | |
| --> | |
| <plugin> | |
| <extension point="org.eclipse.core.contenttype.contentTypes"> | |
| <content-type base-type="org.eclipse.core.runtime.xml" | |
| describer="org.eclipse.mdht.cda.xml.CDAContentHandler" | |
| file-extensions="xml" id="org.eclipse.mdht.cda" name="Clinical Document Architecture (CDA)" | |
| priority="normal"> | |
| </content-type> | |
| </extension> | |
| <extension id="xml" name="CDA Validator" point="org.eclipse.wst.validation.validatorV2"> | |
| <validator build="false" class="org.eclipse.mdht.cda.xml.Validator" markerId="org.eclipse.mdht.cda.xml.validationMarker" manual="true"> | |
| <include> | |
| <rules> | |
| <contentType id="org.eclipse.mdht.cda"></contentType> | |
| <fileext caseSensitive="false" ext="xml" /> | |
| </rules> | |
| </include> | |
| </validator> | |
| </extension> | |
| <extension id="org.eclipse.mdht.cda.xml.validationMarker" name="CDA Validation" point="org.eclipse.core.resources.markers"> | |
| <super type="org.eclipse.wst.validation.problemmarker" /> | |
| <persistent value="false" /> | |
| </extension> | |
| </plugin> |