similar to: XML Schema validation

Displaying 20 results from an estimated 60000 matches similar to: "XML Schema validation"

2008 Jan 23
2
Combine custom validations with helpers
Hi I have a model that uses several validation helpers, for example validates_presence_of. Now I want to add a custom validate method for a very complex validation. I override validate in the model and it works by itself but when I do this the helper validations stop working. I guess the helper methods rely on the ActiveRecord::Base#validate original method in some way. Has anyone any suggestions
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
Pyxml/xmlproc is being used in tools/xen/xm/xenapi_create.py but is unmaintained for several years now. xmlproc is used only for validating XML documents against a DTD file. This patch replaces the pyxml/xmlproc based XML validation with code based on lxml, which is actively maintained. Signed-off-by: Stephan Peijnik <spe@anexia.at> diff -r 6e0ffcd2d9e0 -r 7082ce86e492
2009 Aug 02
1
Provide missing image
Hi I have an application where people can upload avatar-like images to the site. When I show the images I want to show a placeholder image if no image has been uploaded for that user. I was thinking of overloading the image_tag helper to check for existance and provide :default => "path/to/default/image" for the image to show in case the primary one does not exist. So my questions
2007 Nov 14
2
Globalize and acts_as_versioned
The subject says it all: Has anyone had any experience with using globalize and acts_as_versioned (or equivalent) together. That is, I would like the version control to take the locales into account, the en-US translation could be on version 7 while the fr-FR version is 3. Am thinking about extending these plugins but maybe someone has already done this? Tanks in advance. Regards Erik Lindblad
2008 May 26
0
Generating XML Schema from XML
Hi, I want to generate an XML Schema file from an XML file. Is there any way to do it? Thanks in advance... -- 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
2015 Mar 10
1
Issues with XML validation after upgrade to 1.2.12
After we upgraded to 1.2.12, we've been having issues with libvirt... it complains that our formerly valid guest definitions are now invalid: error: Failed to start domain XXXX error: internal error: Cannot instantiate filter due to unresolvable variables or unavailable list elements: DHCPSERVER We looked into this, and found that it's the XML validation that's failing: # xmllint
2006 Aug 14
2
Plugins: Validation Reflection and Client-Side Validation
I''ve just put two plugins on RubyForge. Included below are the READMEs. You can get the plugins at svn://rubyforge.org//var/svn/valirefl/validation_reflection/trunk svn://rubyforge.org//var/svn/clientsidevali/client_side_validation/trunk Michael Validation Reflection ===================== Version 0.2, 2006-08-06 This plugin adds reflective access to validations -
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
2008 Mar 28
0
Problems with URL encoding
Hi I have a problem when sending parameters from link_to_remote. My link code: <%= link_to_remote "Remove", :url => object_relation_path( :id => 0, :object_relation => { :parent_id => @product.id, :parent_type => "Product", :child_id => content_object.id, :child_type => "ContentObject",
2017 Feb 24
1
[PATCH] inspector: validate resulting XML files
Run xmllint to validate the XML output files of virt-inspector, so the schema is checked against actual output of virt-inspector. --- inspector/test-virt-inspector.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inspector/test-virt-inspector.sh b/inspector/test-virt-inspector.sh index 2f55cdc..33d749c 100755 --- a/inspector/test-virt-inspector.sh +++ b/inspector/test-virt-inspector.sh @@
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
2017 May 03
1
[PATCH v2] inspector: validate resulting XML files
Run xmllint to validate the XML output files of virt-inspector, so the schema is checked against actual output of virt-inspector. --- .gitignore | 1 + configure.ac | 2 ++ inspector/{test-virt-inspector.sh => test-virt-inspector.sh.in} | 2 ++ 3 files changed, 5 insertions(+) rename
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
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
2006 Jun 25
0
Using the database schema to help validate data
I started working on this in response to Dave Thomas'' keynote as RailsConf 2006. This little patch will validate that your text fields will fit into the database. Obviously this is just a start, and many more validations could be added. Also, this code could probably be extracted into a plugin instead of patch to ActiveRecord. Index: test/validations_test.rb
2005 Mar 08
2
ActionWebService SOAP Faults aren''t schema valid
I''m working with an ActionWebService client talking to an ActionWebService server through one of DataPower''s XS40 XML Security Gateways. One of the intrinsic functions of this gateway is automatic SOAP schema validation. When testing some failure cases, I noticed that SOAP Faults returned by ActionWebService aren''t schema valid to the SOAP 1.1 schema, specifically:
2007 Jan 06
0
[836] trunk/wxsugar/lib/wx_sugar: Make :validator and :name sugary ctor args work for Controls classes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2009 Feb 08
1
Upgrade Doc to DocBook 5.0?
I'd like to ask what you all would think of me upgrading the libvorbis doc from whatever version of DocBook it presently uses to DocBook 5.0. There are three good reasons: - It supports XML namespaces, so you can embed stuff like Scalable Vector Graphics and MathML right into your DocBook source. - DocBook 5.0 uses Relax NG Schemas. This is a far, far better specification language than