Displaying 20 results from an estimated 100000 matches similar to: "Generating XML Schema from XML"
2008 Mar 04
0
XML Schema validation
Does anyone know of a way to validate XML using XML Schema (or DTD in
case no XML Schema validator is available).
Thanks in advance
Erik Lindblad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Jan 08
0
generate database from xml file
hello All
I recently downloaded a sample RoR project and tried to execute rake
db:migrate. only one table got created. but i noticed one xml file in
db folder.
it has whole database structure. i mean tables, data and all that. but
i dont know how to convert that xml file into mysql database.
following is the sample code from that file:
<?xml version="1.0"
2007 Mar 26
2
Issue generating XML with hyphenated element names
Hello...
I''m trying to generate and XML file using .rxml and I''m having a
problem with element names that contain a hyphen. Here is a chunk of
the .rxml file:
xml.instruct! :xml, :version=>"1.0"
xml.properties do
@properties.each do |p|
xml.property do
xml.location do
xml.street-address(p.street_address)
xml.city-name(p.city)
..
end
end
end
2018 Jul 27
0
[SOLR] Where is solr-schema.xml?
Here?
https://github.com/dovecot/core/blob/master-2.3/doc/solr-schema.xml
--
Jakub L?nsk?
IT administration/support technician
jakub at lansky.biz
GSM: +420776172737
Jabber/GTalk: lenny at blesmrt.net
-------- P?vodn? zpr?va --------
Od: Peter Nabbefeld <peter.nabbefeld at gmx.de>
Komu odpov?d?t: Dovecot Mailing List <dovecot at dovecot.org>
Komu: dovecot at dovecot.org
P?edm?t:
2018 Jul 27
0
[SOLR] Where is solr-schema.xml?
On 7/27/2018 7:50 AM, Peter Nabbefeld wrote:
>
> running dovecot 2.3.2.1 on Arch Linux, and installed solr 7.4.0.
>
> According to the wiki, there should be doc/solr-schema.xml, but I
> cannot find it.
On ubuntu, this is in the "dovecot-solr" package, not the main dovecot
package.? With that package installed, I found it here:
/usr/share/dovecot/solr-schema.xml
I've
2014 Jul 31
1
Solr 4+ schema.xml?
Does anyone have a Solr 4+ compatible schema.xml for dovecot indexing? I am trying to test to see if regex-based FTS searching works through IMAP, but Solr 4.9.0 is throwing an error, "SolrException: undefined field text", on startup with the schema.xml included with Dovecot 2.2.9.
Thanks.
G H
2011 May 29
1
solr substring schema.xml
I'm trying a modified schema.xml with solr - it appears I now have
substring searches!
I took the schema.xml file shipped with Dovecot, and modified the text
field definition to be:
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer
2018 Jul 27
4
[SOLR] Where is solr-schema.xml?
Hello,
running dovecot 2.3.2.1 on Arch Linux, and installed solr 7.4.0.
According to the wiki, there should be doc/solr-schema.xml, but I cannot
find it.
Tried "whereis dovecot":
dovecot: /usr/bin/dovecot /usr/lib/dovecot /etc/dovecot
/usr/include/dovecot /usr/share/dovecot /usr/share/man/man1/dovecot.1.gz
But I cannot find any xml files using
find /usr/{lib,share}/dovecot -name
2008 Oct 08
5
schema.dump chokes on RAW type
I haven''t seen anyone mention this yet.
The tail end of the migration process is a call to schema.dump. Our
primary keys are uuids and these choke schema.dump on both oracle and
postgres. The latter fails silently (skips three tables) while the
former complains about the RAW(16) in each of the three tables.
Anyone had a similar experience?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 28
8
Railsy way to Export Database Schema?
Is there a nice way in rails to automatically extract an exising
database schema from an existing app and then in a new app automatically
create a database based on this schema?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2018 Jul 27
1
[SOLR] Where is solr-schema.xml?
Thank You, Jakub. As there's no link in the wiki, I just expected to
find the file in the installation.
Kind regards
Peter
Am 27.07.2018 um 16:13 schrieb Jakub L?nsk?:
> Here?
> https://github.com/dovecot/core/blob/master-2.3/doc/solr-schema.xml
2007 Jul 06
1
migration column options not in schema.rb?
Forgive me if this has been discussed. I''m new to rails and not sure
where to check yet. Also... forgive me if this shows up twice. I tried
posting first through the google groups interface and I''m not sure if it
went through.
I have rails 1.2.3 installed.
I have a migration that looks like
create_table :test_runs do |t|
t.column :test_spec_id, :integer
t.column
2009 Jan 14
1
How to create a sitemap.xml?
Hi all,
is there a way one can generate a sitemap.xml for google in Rails? Is it
similar to generating xml.rss? (Rails 2.2.2)
Thank you,
Rollie.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Jul 13
3
stack level too deep when parsing xml
I''m trying to figure out why I''m getting a stack level too deep error.
I have controller which parses xml (about 1400 lines) and ingests it
into mysql. First I was getting a system stack error every time, but
then I found the ulimit -s command which allows me to raise it from 8mb
to 64mb. That solved the problem I thought,
But now, I can parse the xml once, but when I do it
2006 Aug 30
1
xml - get values
Hi
I have the following xml string that I have loaded into an REXML object
as shown below.
#xml stuff for saveRoute
require ''rexml/document''
include REXML
Xml = "<test>
<name>sam</name>
<description>this is a test</description>
<description>this is a test2</description>
</test>"
XmlObject = Document.new(Xml)
2008 May 11
8
From "schema.rb" file to MySQL
Hello,
I have write a schema.rb database such as this:
ActiveRecord::Schema.define do
create_table :arts do |t|
t.string :name, :null => false, :limit => 45
end
end
This file is saved into test/db/schema.rb, and test/config/database.yml
is correctly configured with "test_development" database created in a
MySQL server.
Could you help me to install the content of
2008 Dec 05
0
Bug in schema.rb generation during db:migrate
I am thinking that I have found a bug in Rails migrations. My app is
using UUIDtools to generate guids for primary keys. To do this I
pass :id=>false and then create my own id column as shown below. Next
I leverage "execute" to create an index. It seems to work fine. The
table in MySql is perfect. However the ID column and primary key on
the ID column are not in the schema.rb file
I
2018 Mar 04
4
Deprecations for schema.xml and newest Solr version (7.2.x)
Hi,
the schema.xml example provided for dovecot in
/usr/share/doc/dovecot-<verison> does not work anymore with the newest
Solr Version (as I know of 7.2.x) because some field classes and filter
classes are deprecated in this version.
The changes (according to the Solr documentation) would have to be :
In the index analyzer :
<fieldType name="long"
2007 Feb 07
5
Problems Generating Scaffolding
I am having trouble generating some of my scaffolding. I''m trying to
use PostgreSQL as my back-end. Some of my scaffolding generates with
no problem but for other parts I get this:
Before updating scaffolding from new DB schema, try creating a table
for your model
The tables do exist. At least I can see them from psql.
Here is the SQL I''m using to create my tables:
CREATE
2007 May 01
5
[OT] Inject XML into page and tranform with XSL
Hi,
Is it possible to recieve an xml repsonse from my rails app, and then,
client side, inject the xml into the page without reloading and have it
apply an xslt? Like an AJAX call, but ajax is unavailable to me.
My very limited understanding suggests that xslt is only done at run time in
safari at least.
If I can''t get thsi to work the other option I''ve thought of is to use