You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Erhan Baz <er...@yahoo.com> on 2002/06/24 14:45:39 UTC

UTF-8 Editor

Hi again,

I am looking for a free utf-8 editor? Thanks for your help.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

Re: AW: UTF-8 Editor -> XML Spy

Posted by Pedro David Caselles <pc...@ua.es>.
hi,
Try to use a webDAV server as interface between Xindice and your favourite xml
editor. You can use your editor as webDAV client, if it's possible (Spy does)
, or use a generic webDav Client and use your editor as if you were doing
local editing.


Stefan Lischke ha escrito:

> Hi,
>
> > highly recommend  XML Spy
>
> Its possible to connect XML Spy to a relational Database, does anyone know
> of a connection to Xindice ? This would be a wonderful combination
>
> mfg


AW: UTF-8 Editor -> XML Spy

Posted by Stefan Lischke <li...@novacom.net>.
Hi,

> highly recommend  XML Spy

Its possible to connect XML Spy to a relational Database, does anyone know
of a connection to Xindice ? This would be a wonderful combination

mfg



Re: UTF-8 Editor

Posted by Philip Yue <ph...@telus.net>.
highly recommend  XML Spy


Philip

----- Original Message ----- 
From: "Erhan Baz" <er...@yahoo.com>
To: <xi...@xml.apache.org>
Sent: Monday, June 24, 2002 5:45 AM
Subject: UTF-8 Editor


> Hi again,
> 
> I am looking for a free utf-8 editor? Thanks for your help.
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com

Re: xml:db / listing root collections

Posted by Graham Seaman <gr...@seul.org>.
On Mon, 1 Jul 2002, Mark J. Stang wrote:

> There is because the command-line tools do it
> 
> xindice lc -c /db
> 
> So it is possible.
Yep, I've seen that, so I do know it's possible... just can't get it
to work over XML-RPC :-( 
Guess I'll have to start working through the code for the command-line
stuff and see if I can spot where its done there, and what the difference
is (may just be me making a mistake in the parameter format for XML-RPC
calls, though I don't think so).

Graham

> 
> HTH,
> 
> Mark
> 
> Graham Seaman wrote:
> 
> > Hi all,
> >
> > This is a combined question - partly about the XML:DB API, partly about
> > Xindice.
> >
> > First, where is the best place to ask questions about the XML:DB API?
> > www.xmldb.org seems to have been a Marie Celeste since Feb 27th -
> > everything there seems to have stopped on that date. Is that because
> > it's been effectively replaced by the Xindice project?
> >
> > Second, I don't understand the intention of the XML:DB API as far as
> > being able to get listings of Collections goes: IF you know the name
> > of a Collection, you can get this and then list its children, parents,
> > etc. But I can't see a way to programmatically find the structure
> > of an unknown database - it seems you always have to start with
> > Databasemanager.getCollection(), which needs a collection name as
> > parameter. Is this deliberate, or a mistake, or have I missed something
> > obvious?
> >
> > And finally, the same question applied to Xindice over XML-RPC. Although
> > /db is called the 'root collection', I can't get listCollections()
> > to work on it. Am I doing something wrong? Is there some way to find
> > the names of the top level Collections (ie. immediately under /db) without
> > knowing them in advance, when using XML-RPC?
> >
> > Thanks for any advice,
> > Graham
> 
> --
> Mark J Stang
> System Architect
> Cybershop Systems
> 
> 


Re: xml:db / listing root collections

Posted by Graham Seaman <gr...@seul.org>.
On Mon, 1 Jul 2002, Mark J. Stang wrote:

> There is because the command-line tools do it
> 
> xindice lc -c /db
> 
> So it is possible.
> 
> HTH,

You were right, Mark - it does work with XML-RPC too. It was a bug in my 
own code :-( Can't draw a red face in ascii, but I've got one...

But the original question about the XML:DB API itself still 
stands...

Graham
> 
> Mark
> 
> Graham Seaman wrote:
> 
> > Hi all,
> >
> > This is a combined question - partly about the XML:DB API, partly about
> > Xindice.
> >
> > First, where is the best place to ask questions about the XML:DB API?
> > www.xmldb.org seems to have been a Marie Celeste since Feb 27th -
> > everything there seems to have stopped on that date. Is that because
> > it's been effectively replaced by the Xindice project?
> >
> > Second, I don't understand the intention of the XML:DB API as far as
> > being able to get listings of Collections goes: IF you know the name
> > of a Collection, you can get this and then list its children, parents,
> > etc. But I can't see a way to programmatically find the structure
> > of an unknown database - it seems you always have to start with
> > Databasemanager.getCollection(), which needs a collection name as
> > parameter. Is this deliberate, or a mistake, or have I missed something
> > obvious?
> >
> > And finally, the same question applied to Xindice over XML-RPC. Although
> > /db is called the 'root collection', I can't get listCollections()
> > to work on it. Am I doing something wrong? Is there some way to find
> > the names of the top level Collections (ie. immediately under /db) without
> > knowing them in advance, when using XML-RPC?
> >
> > Thanks for any advice,
> > Graham
> 
> --
> Mark J Stang
> System Architect
> Cybershop Systems
> 
> 


Re: xml:db / listing root collections

Posted by "Mark J. Stang" <ma...@earthlink.net>.
There is because the command-line tools do it

xindice lc -c /db

So it is possible.

HTH,

Mark

Graham Seaman wrote:

> Hi all,
>
> This is a combined question - partly about the XML:DB API, partly about
> Xindice.
>
> First, where is the best place to ask questions about the XML:DB API?
> www.xmldb.org seems to have been a Marie Celeste since Feb 27th -
> everything there seems to have stopped on that date. Is that because
> it's been effectively replaced by the Xindice project?
>
> Second, I don't understand the intention of the XML:DB API as far as
> being able to get listings of Collections goes: IF you know the name
> of a Collection, you can get this and then list its children, parents,
> etc. But I can't see a way to programmatically find the structure
> of an unknown database - it seems you always have to start with
> Databasemanager.getCollection(), which needs a collection name as
> parameter. Is this deliberate, or a mistake, or have I missed something
> obvious?
>
> And finally, the same question applied to Xindice over XML-RPC. Although
> /db is called the 'root collection', I can't get listCollections()
> to work on it. Am I doing something wrong? Is there some way to find
> the names of the top level Collections (ie. immediately under /db) without
> knowing them in advance, when using XML-RPC?
>
> Thanks for any advice,
> Graham

--
Mark J Stang
System Architect
Cybershop Systems


xml:db / listing root collections

Posted by Graham Seaman <gr...@seul.org>.
Hi all,

This is a combined question - partly about the XML:DB API, partly about 
Xindice.

First, where is the best place to ask questions about the XML:DB API?
www.xmldb.org seems to have been a Marie Celeste since Feb 27th - 
everything there seems to have stopped on that date. Is that because
it's been effectively replaced by the Xindice project?

Second, I don't understand the intention of the XML:DB API as far as
being able to get listings of Collections goes: IF you know the name
of a Collection, you can get this and then list its children, parents,
etc. But I can't see a way to programmatically find the structure
of an unknown database - it seems you always have to start with
Databasemanager.getCollection(), which needs a collection name as 
parameter. Is this deliberate, or a mistake, or have I missed something 
obvious?

And finally, the same question applied to Xindice over XML-RPC. Although
/db is called the 'root collection', I can't get listCollections()
to work on it. Am I doing something wrong? Is there some way to find
the names of the top level Collections (ie. immediately under /db) without 
knowing them in advance, when using XML-RPC?

Thanks for any advice,
Graham


Re: xpath - nullpointer exception

Posted by "Mark J. Stang" <ma...@earthlink.net>.
Are you on windoze or Unix?

durga bhavani chadalavada wrote:

> hi,
>
>    When i am trying to make query  on  collection like xindice xpath
> -c /db/test -q  /
>
> i got the following exception.
>
> DEBUG>
> java.io.EOFException
>         at java.io.DataInputStream.readByte(Unknown Source)
>         at
> org.apache.xindice.xml.XMLCompressedInput.readContentSize(XMLCompress
> edInput.java:182)
>         at
> org.apache.xindice.xml.dom.ElementImpl.loadAttributes(ElementImpl.jav
> a:174)
>         at
> org.apache.xindice.xml.dom.ElementImpl.<init>(ElementImpl.java:93)
>         at
> org.apache.xindice.xml.dom.ContainerNodeImpl.loadChildren(ContainerNo
> deImpl.java:155)
>         at
> org.apache.xindice.xml.dom.DocumentImpl.checkLoaded(DocumentImpl.java
> :150)
>         at
> org.apache.xindice.xml.dom.DocumentImpl.getDocumentElement(DocumentIm
> pl.java:262)
>         at
> org.apache.xindice.client.corba.SymbolDeserializer.getSymbols(SymbolD
> eserializer.java:115)
>         at
> org.apache.xindice.client.xmldb.services.XPathQueryServiceImpl.query(
> XPathQueryServiceImpl.java:183)
>         at
> org.apache.xindice.tools.command.XPathQuery.execute(XPathQuery.java:1
> 09)
>         at
> org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331)
>         at
> org.apache.xindice.tools.XMLTools.process(XMLTools.java:257)
>         at
> org.apache.xindice.tools.XMLUserTools.main(XMLUserTools.java:98)
>
> --Bhavani
>
>
> -----------------------------------------------------------------------
> Do You Yahoo!?
> Sign-up for Video Highlights of 2002 FIFA World Cup

--
Mark J Stang
System Architect
Cybershop Systems


Re: xpath - nullpointer exception

Posted by "Mark J. Stang" <ma...@earthlink.net>.
Try putting your query, the part after the -q in quotes.

durga bhavani chadalavada wrote:

> i am using xindice in windows only
>
>
> -----------------------------------------------------------------------
> Do You Yahoo!?
> New! SBC Yahoo! Dial - 1st Month Free & unlimited access

--
Mark J Stang
System Architect
Cybershop Systems


DOM Exception

Posted by durga bhavani chadalavada <cd...@yahoo.com>.
 Hai 
 Presently i am working with xindice. I am able to insert the document and  i can make queries on that. But when i inserting different types of xml files i mean of different sizes of documents in the same collection, all of sudden i am getting the following exception. Please help me if anybody find solution.
the exception is:
DEBUG>
java.lang.NullPointerException
at org.apache.xindice.xml.dom.ElementImpl.checkLoaded(ElementImpl.java:140)
at org.apache.xindice.xml.dom.ContainerNodeImpl.getElementsByTagName(ContainerNodeImpl.java:463)
at org.apache.xindice.xml.SymbolTable.streamFromXML(SymbolTable.java:248)
at org.apache.xindice.client.corba.SymbolDeserializer.getSymbols(SymbolDeserializer.java:115)
at org.apache.xindice.client.xmldb.services.XPathQueryServiceImpl.query(XPathQueryServiceImpl.java:183)
at org.apache.xindice.tools.command.XPathQuery.execute(XPathQuery.java:109)
at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331)
at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257)
at org.apache.xindice.tools.XMLUserTools.main(XMLUserTools.java:98)
One more thing i tried the same code in linux as well as in windows also
If anybody knows about this please help me.
 
Thanks
Durga




---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access

Re: xpath - nullpointer exception

Posted by durga bhavani chadalavada <cd...@yahoo.com>.
Hai 

 Presently i am working with xindice. I am able to insert the document and  i can make queries on that. But when i inserting different types of xml files i mean of different sizes of documents in the same collection, all of sudden i am getting the following exception. Please help me if anybody find solution.

the exception is:

DEBUG>

java.lang.NullPointerException

at org.apache.xindice.xml.dom.ElementImpl.checkLoaded(ElementImpl.java:140)

at org.apache.xindice.xml.dom.ContainerNodeImpl.getElementsByTagName(ContainerNodeImpl.java:463)

at org.apache.xindice.xml.SymbolTable.streamFromXML(SymbolTable.java:248)

at org.apache.xindice.client.corba.SymbolDeserializer.getSymbols(SymbolDeserializer.java:115)

at org.apache.xindice.client.xmldb.services.XPathQueryServiceImpl.query(XPathQueryServiceImpl.java:183)

at org.apache.xindice.tools.command.XPathQuery.execute(XPathQuery.java:109)

at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331)

at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257)

at org.apache.xindice.tools.XMLUserTools.main(XMLUserTools.java:98)

One more thing i tried the same code in linux as well as in windows also

Thanks

bhavani



---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access

Re: xpath - nullpointer exception

Posted by durga bhavani chadalavada <cd...@yahoo.com>.
the XPATH qurey is working properly when i inserted my
first doucument. but i  inserted the second document
which is big in size. It is giving  exceptions. I
tried in both linux and windows also. 
   When i am inserting these two documents in
different collections they are working fine in the
sense i am able to make queries on those documents

-- bhavani

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

Re: xpath - nullpointer exception

Posted by durga bhavani chadalavada <cd...@yahoo.com>.
i am using xindice in windows only



---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access

xpath - nullpointer exception

Posted by durga bhavani chadalavada <cd...@yahoo.com>.
hi,

   When i am trying to make query  on  collection like xindice xpath -c /db/test -q  /

i got the following exception.

DEBUG>
java.io.EOFException
        at java.io.DataInputStream.readByte(Unknown Source)
        at org.apache.xindice.xml.XMLCompressedInput.readContentSize(XMLCompress
edInput.java:182)
        at org.apache.xindice.xml.dom.ElementImpl.loadAttributes(ElementImpl.jav
a:174)
        at org.apache.xindice.xml.dom.ElementImpl.<init>(ElementImpl.java:93)
        at org.apache.xindice.xml.dom.ContainerNodeImpl.loadChildren(ContainerNo
deImpl.java:155)
        at org.apache.xindice.xml.dom.DocumentImpl.checkLoaded(DocumentImpl.java
:150)
        at org.apache.xindice.xml.dom.DocumentImpl.getDocumentElement(DocumentIm
pl.java:262)
        at org.apache.xindice.client.corba.SymbolDeserializer.getSymbols(SymbolD
eserializer.java:115)
        at org.apache.xindice.client.xmldb.services.XPathQueryServiceImpl.query(
XPathQueryServiceImpl.java:183)
        at org.apache.xindice.tools.command.XPathQuery.execute(XPathQuery.java:1
09)
        at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331)
        at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257)
        at org.apache.xindice.tools.XMLUserTools.main(XMLUserTools.java:98)

--Bhavani



---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

Re: UTF-8 Editor

Posted by Robert Bracewell <ro...@yahoo.com>.
 --- Adrian Petru Dimulescu <ad...@free.fr>
wrote: > > I am looking for a free utf-8 editor?
Thanks for
> your help.
> 
> emacs does a wonderful job in utf-8 editing... 

Under Linux I use Yudit available at
http://www.yudit.org/

--
RoB

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Re: UTF-8 Editor

Posted by Adrian Petru Dimulescu <ad...@free.fr>.
> I am looking for a free utf-8 editor? Thanks for your help.

emacs does a wonderful job in utf-8 editing...

Re: UTF-8 Editor

Posted by Endre Furnes <ef...@notion.no>.
look at http://www.unipad.org/main/


----- Original Message ----- 
From: "Erhan Baz" <er...@yahoo.com>
To: <xi...@xml.apache.org>
Sent: Monday, June 24, 2002 2:45 PM
Subject: UTF-8 Editor


> Hi again,
> 
> I am looking for a free utf-8 editor? Thanks for your help.
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>