mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-13 08:14:46 +00:00
fix xml annotation suppression
This commit is contained in:
parent
7b0cf668ae
commit
e38f40b0de
@ -75,14 +75,14 @@ public class XmlLocationAnnotator extends XMLFilterImpl {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException {
|
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException {
|
||||||
if (!name.equals("http://javax.xml.xmlconstants/property/accessExternalDTD")) {
|
if (!name.equals("http://javax.xml.XMLConstants/property/accessExternalDTD")) {
|
||||||
super.setProperty(name, value);
|
super.setProperty(name, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException {
|
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException {
|
||||||
if (!name.equals("http://javax.xml.xmlconstants/property/accessExternalDTD")) {
|
if (!name.equals("http://javax.xml.XMLConstants/property/accessExternalDTD")) {
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
return super.getProperty(name);
|
return super.getProperty(name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user