Hello Rogier,
Thank you for your thorough analysis!
I will investigate this some more and try to come up with a fix or put a
big warning in the documentation ;)
Regards,
Bart
Rogier Peters wrote:
Well, I seem to have fixed the problem. It appears that any namespaces used
in the extractors should also be declared on the documents that the
extractor sees, even if the namespace is not used in the document itself.
If i declare an extractor with
<instruction property="href" namespace="http://hippo.nl/cms/1.0"
xpath="string(//cms:app-info/cms:href)"/>
and a document
<dummy/>
it breaks. But making the document
<dummy xmlns:cms="http://hippo.nl/cms/1.0"/>
works.
Hmmm, I can imagine this is because of the way the extractor executes the
xpath query, but I would consider it a bug
On Wed, Feb 27, 2008 at 5:27 PM, Bart van der Schans <[EMAIL PROTECTED]>
wrote:
Rogier Peters wrote:
Hi Guys,
Just giving this a little follow-up: the issue hasn't been solved, and
although we managed to fix it on the server by rolling back the
extractors,
it now happens seemingly random (location/contenttype) on my local
machine,
which kind of worries me...
Does it also happen with a database store or only with the file store?
Any information on when Slide starts throwing these 406's? Is it some
kind
of index corruption? If so, is there a force-rebuild for the indexes?
I doubt it's an index problem. Anyway, to rebuild the index, you can
stop the repository and delete the index directory. At startup the
repository will rebuild the index.
Regards,
Bart
On Tue, Feb 26, 2008 at 5:04 PM, Rogier Peters <[EMAIL PROTECTED]>
wrote:
Right now i'm also getting 406 on another content type, but only on my
local machine. It goes away if I disable the instructions inside the
nl.hippo.slide.extractor.HippoSimpleXmlExtractor i.e.
<extractor...
<configuration
<!-- instruction
but it returns if I enable _any one_ of them.
I'm sending you the file, the extractors.xml and some stacktraces from
the
logs. Please have a look
So you are trying to create a new sitemenu.xml?
yes
Which extractor gives
the error?
I don't know yet -- still investigating
Regards,
Bart
Rogier
Att:
sitemenu.xml -- the template (from types) for file that cannot be
created
extractors.xml -- you know...
log.txt -- the errors
------------------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
--------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
--------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
--------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist