Skip to content

Commit

Permalink
fix path of xsd schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Nov 20, 2024
1 parent 9ebd8b1 commit e516a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Paths/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4371,7 +4371,7 @@ private function generateResponse()

// then create an XML representation from the Array
$ns = "http://www.bibleget.io/catholicliturgy";
$schemaLocation = API_BASE_PATH . '/schemas/LiturgicalCalendar.xsd';
$schemaLocation = API_BASE_PATH . '/jsondata/schemas/LiturgicalCalendar.xsd';
$xml = new \SimpleXMLElement(
"<?xml version=\"1.0\" encoding=\"UTF-8\"?" . "><LiturgicalCalendar xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
. " xsi:schemaLocation=\"$ns $schemaLocation\""
Expand Down

0 comments on commit e516a68

Please sign in to comment.