Scott Warren | 1 Apr 2007 02:28
Picon
Favicon

Re: error SENR0001: attribute xx has no parent element

I was simply taking the code I had and rewriting it, I thought maybe because
I had Updates in the middle this may have been a factor.

In regards to you addition of an $iterations variable, I found that I could
get the same thing to happen in less than 20 iterations. I am not sure if
the number of iterations is a factor. However I am sure it takes more than 1
iteration.... 

I tried running the code I wrote against the trunk from Yesterday but of
cause it fails completely because of the assertions. 

Regards
 
 
Scott Warren
Ocom Software
... Exceeding Quality.....

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Pierrick Brihaye | 1 Apr 2007 09:42
Picon
Favicon

Re: error SENR0001: attribute xx has no parent element

Hi,

Scott Warren a écrit :

> I was simply taking the code I had and rewriting it, I thought maybe because
> I had Updates in the middle this may have been a factor.

It looks that they aren't.

> In regards to you addition of an $iterations variable, I found that I could
> get the same thing to happen in less than 20 iterations. I am not sure if
> the number of iterations is a factor.

Of course it is : on my install, with *fresh* DBs and with the reduced 
test case I've provided, 135 iterations pass whereas 136 don't. This may 
probably change according to configuration but it's enough to 
demonstrate th problem.

Cheers,

p.b.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Anoop K Achuthan | 2 Apr 2007 04:38

How to link xsl style sheet

Hi,
  I want to add a line

<?xml-stylesheet type='text/xml' href='http://mydomain.com/test.xsl'?>
on top of my generated output using XQUERY.

But if I add directly in the xquery document, like :

declare option exist:serialize "method=xml omit-xml-declaration=no";
<?xml-stylesheet type='text/xml' href='http://ericjbowman.com/xoxo.xsl'?>
<root>
<test>test</test>
</root>

I'm getting error "expecting EOF, found '>'". How could it be done?

Thanks,
Anoop

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Michael Beddow | 2 Apr 2007 09:38

Re: How to link xsl style sheet

Anoop K Achuthan wrote:

>
> I'm getting error "expecting EOF, found '>'". How could it be done?
>

Hint #1.

If eXist and Saxon agree, you have a problem better approached via XQuery
docs or an appropriate list (or in this case by reflecting on the basic
structure of an XML document...)

Saxon (after stripping your eXist-specific serializer option) says

  XPST0003: XQuery syntax error in #...owman.com/xoxo.xsl'?> <root> <#:
    Unexpected token ">" beyond end of query

which is as close to agreement as you are likely to get...

Hint #2 (coded to bring out the points: it could be done syntactically
closer to the original example)

let $pi := <?xml-stylesheet type='text/xml'
href='http://ericjbowman.com/xoxo.xsl'?>
let $doc :=
<root>
{$pi}
<test>test</test>
</root>
return $doc
(Continue reading)

Andrew Hart CEMS Staff | 2 Apr 2007 12:22
Picon
Favicon

build installer error

I have a problem during build installer:

[javac] 
/ajhart/existsvn/eXist/tools/izpack/src/org/exist/izpack/CommandLineInstaller.java:130: 
doInstall(com.izforge.izpack.installer.AutomatedInstallData) in 
com.izforge.izpack.installer.AutomatedInstaller cannot be applied to ()
    [javac]             super.doInstall();
    [javac]                  ^
    [javac] [checking org.exist.izpack.PasswordValidator]
    [javac] [total 571ms]
    [javac] 1 error

BUILD FAILED
/ajhart/existsvn/eXist/build/scripts/installer.xml:14: The following 
error occurred while executing this line:
/ajhart/existsvn/eXist/tools/izpack/build.xml:33: Compile failed; see 
the compiler error output for details.

Can anyone point me in the right direction?

Java 1.5, sol 10, exist from svn today, IzPack 3.8.1 (possibly 3.8.2 not 
sure)

This email was independently scanned for viruses by McAfee anti-virus software and none were found
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
(Continue reading)

Dannes Wessels | 2 Apr 2007 12:39
Picon

Re: build installer error

Hi,

On 4/2/07, Andrew Hart CEMS Staff <Andrew2.Hart <at> uwe.ac.uk> wrote:
> I have a problem during build installer:

> Java 1.5, sol 10, exist from svn today, IzPack 3.8.1 (possibly 3.8.2 not
> sure)

Recently we had some changes here, to have the installer (with option
-p) working on headless systems with newer versions of izPack. Please
recheck with 3.10.1 ?

cheers

Dannes

--

-- 
# Dannes Wessels # The Netherlands #
# Jabber / ICQ / MSN / AIM / Yahoo / gTalk / Skype / LinkedIn #

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Andrew Hart CEMS Staff | 2 Apr 2007 12:51
Picon
Favicon

Re: build installer error

OK works fine with IzPack 3.10.1

Thanks

Dannes Wessels wrote:
>
> Recently we had some changes here, to have the installer (with option
> -p) working on headless systems with newer versions of izPack. Please
> recheck with 3.10.1 ?
>

This email was independently scanned for viruses by McAfee anti-virus software and none were found
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Dannes Wessels | 2 Apr 2007 13:02
Picon

Re: build installer error

Hi

On 4/2/07, Andrew Hart CEMS Staff <Andrew2.Hart <at> uwe.ac.uk> wrote:
> OK works fine with IzPack 3.10.1

unfortunately I get -upon installation- an error message: "setting
password for admin user" ..... Unable to access jarfile start.jar ;
not sure what causes this.

'll verify this later this week.

D.

--

-- 
# Dannes Wessels # The Netherlands #
# Jabber / ICQ / MSN / AIM / Yahoo / gTalk / Skype / LinkedIn #

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
bryan rasmussen | 2 Apr 2007 13:40
Picon
Gravatar

normalization of xml structures in collection?

Hi,

This is just something I'm supposing but I don't know if it is true or
not, but the question is:

1. Does Exist have some sort of internal representation of XML
structures found in a collection that will perform better or worse
dependent on the similarity of all structures in the database? I
suppose that if one has a collection of XML Schemas this will perform
much better if all the documents in the collection are XML Schemas,
furthermore if all the XML Schemas have a very similar structure (let
us suppose one element one type) then this will lead to better
performance of the database.

2. If so is there any documentation on this.

3. what ways exist to increase efficiency of database performance? Can
one specify expected datatypes by Xpath etc. bind to XML Schemas, XML
Schema datatypes?

Cheers,
Bryan Rasmussen

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Wolfgang Meier | 2 Apr 2007 14:10
Picon

Re: normalization of xml structures in collection?

Hi,

> 1. Does Exist have some sort of internal representation of XML
> structures found in a collection that will perform better or worse
> dependent on the similarity of all structures in the database?

No, eXist does not care about the structural similarity of the
documents in a collection and it has no influence on performance if
different sets of documents are mixed in the same collection or not.

> 3. what ways exist to increase efficiency of database performance? Can
> one specify expected datatypes by Xpath etc. bind to XML Schemas, XML
> Schema datatypes?

Defining a range index with the correct datatype helps to avoid
unnecessary conversions and facilitates fast comparisons.

We are also working on new query optimizations, which are quite
effective if you need to select a limited number of nodes from a huge
node set, e.g. //a[b = 'A'][c = 'B']. Please check my report on the
wiki:

http://wiki.exist-db.org/space/NewQueryOptimizer

(note: the current SVN is already able to rewrite the query and insert
those (#exist:optimize#) pragmas automatically, at least for simple
expressions)

Wolfgang

(Continue reading)


Gmane