Hi.

Trying sample app (1.0.1) on the ubuntu box is ok, but trying it on the xp
doesn´t work until I change the *\src\config\sch\config_handlers.sch, from:

<schema xmlns="http://purl.oclc.org/dsdl/schematron";>
 <title>A test schema for Agavi</title>
 <ns prefix="agavi" uri="http://agavi.org/agavi/1.0/config"; />
 <pattern name="Base structure">
  <rule context="agavi:configuration">
   <assert test="agavi:handlers">A configuration block contains
handlers.</assert>
  </rule>
 </pattern>
</schema>

to

<schema xmlns="http://purl.oclc.org/dsdl/schematron";>
 <title>A test schema for Agavi</title>
<!--
 <ns prefix="agavi" uri="http://agavi.org/agavi/1.0/config"; />
 <pattern name="Base structure">
  <rule context="agavi:configuration">
   <assert test="agavi:handlers">A configuration block contains
handlers.</assert>
  </rule>
 </pattern>
-->
</schema>
 before the changes, the app stop with this AgaviParseException

Validation of configuration file
"C:/webs/agavi/1.0.1/src/config/defaults/config_handlers.xml" failed:

Schematron validation of configuration file
"C:/webs/agavi/1.0.1/src/config/defaults/config_handlers.xml" failed:
Transformation failed: Could not transform schema file
"file:///C%3A/webs/agavi/1.0.1/src/config/sch/config_handlers.sch": Errors
occured while transforming the document using an XSL stylesheet:

runtime error: file
file:///C%3A/webs/agavi/1.0.1/src/config/schematron/iso_schematron_skeleton_for_xslt1.xsl
line 1448 element element
xsl:element : no namespace bound to prefix agavi

after the changes the app goes well.

the questions are, What is this file for? What happens if I use the modified
file?

-- 
Salva Glez.
Saludos
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to