Skip to content

Commit

Permalink
fixing URLs in MYNG script
Browse files Browse the repository at this point in the history
Signed-off-by: greenTara <taraathan@gmail.com>
  • Loading branch information
greenTara committed Mar 5, 2014
1 parent 4341f8e commit 4352d8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions relaxng/schema_rnc.php
Expand Up @@ -8,26 +8,26 @@
$modulesLocation = $schemaLocation . 'modules/';
$start = ' start = Node.choice | edge.choice'."\n";
$end = ' inherit = ruleml {start |= notAllowed}';
$base_url = "http://www.ruleml.org/1.0/relaxng/schema_rnc.php";
$base_url = "http://deliberation.ruleml.org/1.01/relaxng/schema_rnc.php";
$now = date(DATE_ATOM,time());
//Step 00. Write the header
echo 'namespace dc = "http://purl.org/dc/elements/1.1/"
namespace dcterms = "http://purl.org/dc/terms/"
namespace ruleml = "http://ruleml.org/spec"
dc:title [ "RuleML Custom-Built Schema" ]
dc:title [ "Deliberation RuleML Custom-Built Schema" ]
dc:version [ "1.01" ]
dc:creator [ "Tara Athan (taraathan AT gmail.com)" ]
dc:subject [ "RuleML, custom-built" ]
dc:subject [ "Deliberation RuleML, custom-built" ]
dc:description [
"custom-built main module for a RuleML sublanguage."
"custom-built main module for a Deliberation RuleML sublanguage."
]
dc:date [ "';
echo($now);
echo '" ]
dc:language [ "en" ]
dcterms:rights [ "LGPL-3.0" ]
dc:relation [ "http://wiki.ruleml.org/index.php/Relax_NG" ]';
dcterms:rights [ "TBD" ]
dc:relation [ "http://deliberation.ruleml.org/1.01" ]
echo "\n";
echo "# Call parameters\n";
$this_url = $base_url;
Expand Down
2 changes: 1 addition & 1 deletion relaxng/unprop_relaxed.rnc
Expand Up @@ -25,7 +25,7 @@ dc:relation [ "http://deliberation.ruleml.org/1.01" ]
# GET parameter: expr=x0
# GET parameter: serial=xb
# Complete URL =
# http://www.ruleml.org/1.0/relaxng/schema_rnc.php?backbone=x0&default=x5&termseq=x2&lng=x1&propo=x1&implies=x0&terms=x0&quant=x0&expr=x0&serial=xb
# http://deliberation.ruleml.org/1.01/relaxng/schema_rnc.php?backbone=x0&default=x5&termseq=x1&lng=x1&propo=x1&implies=x0&terms=x0&quant=x0&expr=x0&serial=xb
start = Node.choice | edge.choice
#
# ROOT NODE AND PERFORMATIVES INCLUDED
Expand Down

0 comments on commit 4352d8e

Please sign in to comment.