mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-03-09 14:33:32 +00:00
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
This commit is contained in:
commit
76611e14b5
@ -139,7 +139,7 @@ public class XmlParser extends BaseParser /* implements IParser */ {
|
||||
Attribute urlAttr = elem.getAttributeByName(new QName("url"));
|
||||
String url;
|
||||
if (urlAttr == null || isBlank(urlAttr.getValue())) {
|
||||
getErrorHandler().missingRequiredElement(new ParseLocation("extension"), "url");
|
||||
getErrorHandler().missingRequiredElement(new ParseLocation().setParentElementName("extension"), "url");
|
||||
url = null;
|
||||
} else {
|
||||
url = urlAttr.getValue();
|
||||
@ -149,7 +149,7 @@ public class XmlParser extends BaseParser /* implements IParser */ {
|
||||
Attribute urlAttr = elem.getAttributeByName(new QName("url"));
|
||||
String url;
|
||||
if (urlAttr == null || isBlank(urlAttr.getValue())) {
|
||||
getErrorHandler().missingRequiredElement(new ParseLocation("modifierExtension"), "url");
|
||||
getErrorHandler().missingRequiredElement(new ParseLocation().setParentElementName("modifierExtension"), "url");
|
||||
url = null;
|
||||
} else {
|
||||
url = urlAttr.getValue();
|
||||
|
Loading…
x
Reference in New Issue
Block a user