More Exorcist problems

View: New views
4 Messages — Rating Filter:   Alert me  

More Exorcist problems

by sonic-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Apart from the topic parameter problem (which I still couldn't solve), I have
another problem with Snippets:

I use the following XSLT:

<xsl:transform version="1.0"
               xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
               xmlns:mgd="http://ns.yukatan.fi/2005/midgard">

  <xsl:output indent="yes"/>

  <xsl:template match="mgd:site">
    <mgd:site>
      <xsl:apply-templates select="mgd:midgard_snippetdir"/>
    </mgd:site>
  </xsl:template>

  <xsl:template match="mgd:*">
    <xsl:copy><xsl:apply-templates/></xsl:copy>
  </xsl:template>

</xsl:transform>

The problem is, this does not replicate snippets, just the snippetdirs
(verified by redirecting the output to the log file)

so I tried adding this line:

  <xsl:template match="mgd:site">
    <mgd:site>
      <xsl:apply-templates select="mgd:midgard_snippetdir"/>
      <xsl:apply-templates select="mgd:midgard_snippet"/>
    </mgd:site>
  </xsl:template>

This replicates the Snippets in question, but it fails to change the id in the
snippet's "up" field, so it winds up in the wrong directory.

I would be glad if anyone could tell me if this is a bug in Exorcist (beta-3)
or if I simply was too stupid (again :-)


Bye,

Andreas

--
Adding sound to movies would be like putting lipstick on the Venus de Milo. --
Mary Pickford, 1925

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: More Exorcist problems

by Jukka Zitting-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Sorry for the late response, I was being busy on a business trip.

Sonic wrote:
> The problem is, this does not replicate snippets, just the snippetdirs

It's a problem in the Exorcist. During the beta cycle I rewrote some of
the Exorcist-specific schema loading stuff, but didn't notice that the
snippet schema uses a bit different parent linking notation than the
other types. :-(

I'll upload exorcist-1.0-beta-4 with the fix and will investigate the
duplicate parameter problem a bit more.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - info@...
Software craftmanship, JCR consulting, and Java development

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: More Exorcist problems

by sonic-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

sounds great! I'll give you some new feedback as soon as beta-4 is available.
BTW, one more thing: I'm not sure if this is supposed to work but it would be
great if it did: When I create a Style Element in DB1, then replicate to DB2,
then delete it in DB1, then replicate again, it is still present in DB2, i.e.
other than repligard, exorcist doesn't seem to know how to replicate the
deletion.


Bye,

Andreas


Am Mittwoch, 7. Dezember 2005 09:07 schrieb Jukka Zitting:

> Hi,
>
> Sorry for the late response, I was being busy on a business trip.
>
> Sonic wrote:
> > The problem is, this does not replicate snippets, just the snippetdirs
>
> It's a problem in the Exorcist. During the beta cycle I rewrote some of
> the Exorcist-specific schema loading stuff, but didn't notice that the
> snippet schema uses a bit different parent linking notation than the
> other types. :-(
>
> I'll upload exorcist-1.0-beta-4 with the fix and will investigate the
> duplicate parameter problem a bit more.
>
> BR,
>
> Jukka Zitting

--
Adding sound to movies would be like putting lipstick on the Venus de Milo. --
Mary Pickford, 1925

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: More Exorcist problems

by sonic-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

sorry if I'm nagging, but I just wanted to know if there are any news
regarding the next beta of exorcist. I have been checking sf.net regularly,
but to no avail :-(

Bye,

Andreas

Am Mittwoch, 7. Dezember 2005 09:07 schrieb Jukka Zitting:

> Hi,
>
> Sorry for the late response, I was being busy on a business trip.
>
> Sonic wrote:
> > The problem is, this does not replicate snippets, just the snippetdirs
>
> It's a problem in the Exorcist. During the beta cycle I rewrote some of
> the Exorcist-specific schema loading stuff, but didn't notice that the
> snippet schema uses a bit different parent linking notation than the
> other types. :-(
>
> I'll upload exorcist-1.0-beta-4 with the fix and will investigate the
> duplicate parameter problem a bit more.
>
> BR,
>
> Jukka Zitting

--
Adding sound to movies would be like putting lipstick on the Venus de Milo. --
Mary Pickford, 1925

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

LightInTheBox - Buy quality products at wholesale price