Hi,
I'm trying to access to some data in a xml file. But when the file
references some schema:

<manifest xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1"; 
   xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"; 
   xsi:schemaLocation = "http://www.imsglobal.org/xsd/imscp_v1p1 
                         Schemas/imscp_v1p1p3.xsd" 
   >
,cocoon throws an error like this:

stack-trace

java.lang.NullPointerException
        at
clases.ametzaga.proyecto.ControlContenido.act(ControlContenido.java:71)
        at
org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNode.call(ActionSetNode.java:177)
        at
org.apache.cocoon.components.treeprocessor.sitemap.ActSetNode.invoke(ActSetNode.java:111)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:83)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:162)

But if I delete all instances from the xml document to all the schemas,
the application runs well.
<manifest>

Thanks in advance,
Iker.



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to