@@ -393,7 +393,7 @@ public void doGet(final DBBroker broker, final Txn transaction, final HttpServle
393
393
// Process the request
394
394
LockedDocument lockedDocument = null ;
395
395
DocumentImpl resource = null ;
396
- final XmldbURI pathUri = XmldbURI .createInternal (path );
396
+ final XmldbURI pathUri = XmldbURI .create (path );
397
397
try {
398
398
// check if path leads to an XQuery resource
399
399
final String xquery_mime_type = MimeType .XQUERY_TYPE .getName ();
@@ -545,7 +545,7 @@ public void doHead(final DBBroker broker, final Txn transaction, final HttpServl
545
545
throws BadRequestException , PermissionDeniedException ,
546
546
NotFoundException , IOException {
547
547
548
- final XmldbURI pathUri = XmldbURI .createInternal (path );
548
+ final XmldbURI pathUri = XmldbURI .create (path );
549
549
if (checkForXQueryTarget (broker , transaction , pathUri , request , response )) {
550
550
return ;
551
551
}
@@ -623,7 +623,7 @@ public void doPost(final DBBroker broker, final Txn transaction, final HttpServl
623
623
}
624
624
625
625
final Properties outputProperties = new Properties (defaultOutputKeysProperties );
626
- final XmldbURI pathUri = XmldbURI .createInternal (path );
626
+ final XmldbURI pathUri = XmldbURI .create (path );
627
627
LockedDocument lockedDocument = null ;
628
628
DocumentImpl resource = null ;
629
629
@@ -1134,7 +1134,7 @@ public void doPatch(final DBBroker broker, final Txn transaction, final XmldbURI
1134
1134
1135
1135
public void doDelete (final DBBroker broker , final Txn transaction , final String path , final HttpServletRequest request , final HttpServletResponse response )
1136
1136
throws PermissionDeniedException , NotFoundException , IOException , BadRequestException {
1137
- final XmldbURI pathURI = XmldbURI .createInternal (path );
1137
+ final XmldbURI pathURI = XmldbURI .create (path );
1138
1138
if (checkForXQueryTarget (broker , transaction , pathURI , request , response )) {
1139
1139
return ;
1140
1140
}
@@ -1322,7 +1322,7 @@ protected void search(final DBBroker broker, final Txn transaction, final String
1322
1322
}
1323
1323
}
1324
1324
1325
- final XmldbURI pathUri = XmldbURI .createInternal (path );
1325
+ final XmldbURI pathUri = XmldbURI .create (path );
1326
1326
final Source source = new StringSource (query );
1327
1327
final XQueryPool pool = broker .getBrokerPool ().getXQueryPool ();
1328
1328
CompiledXQuery compiled = null ;
0 commit comments