search for: xmlparser

Displaying 20 results from an estimated 25 matches for "xmlparser".

2006 Mar 17
10
good javascript xml parser
Anyone know of a javascript function that will take an xml document and turn it into an associative array? Basically it would take something like this: <body> <item> <id>1</id> <name>Bob</name> </item> <item> <id>2</id> <name>John</name> </item> </body> And turn it into something like this: {
2006 May 19
1
Strange error when testing layered web service
...soap/baseData.rb:166:in `decode'' c:/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:153:in `decode_tag'' c:/ruby/lib/ruby/1.8/soap/parser.rb:179:in `decode_tag'' c:/ruby/lib/ruby/1.8/soap/parser.rb:130:in `start_element'' c:/ruby/lib/ruby/1.8/xsd/xmlparser/parser.rb:67:in `start_element'' c:/ruby/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:34:in `do_parse'' c:/ruby/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31:in `do_parse'' c:/ruby/lib/ruby/1.8/soap/parser.rb:92:in `parse'' c:/ruby/lib/ruby/1.8/soap/processor...
2011 May 17
3
xargs with max each line / argument
...I want to install rubygems by reading a text file as shown below, however the arguments are getting passed all at once to the 'gem install' command. I hace tried -L (max-lines) and -n (max args) options, but it didn't work. What's missing here?? Any help? $ cat gem.list.1 mkrf rake xmlparser $ awk '{ print $0 }' gem.list.1 | xargs -L 1 -0 -I name sudo gem install name ERROR: could not find gem mkrf rake xmlparser locally or in a repository thanks, neuby.r
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the Agile book. The code as written in the book yields 2 errors: test_find_product_by_id(BackendControllerApiTest): XMLParserError: syntax error Anyone hit this yet and get it to work? Thanks. Ken _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2009 Feb 03
1
PowerPoint 2007 filter
...string safefile = shell_protect(file); /* string cmd = "unzip -p " + safefile + " ppt/slides/slide*.xml ppt/notesSlides/notesSlide*.xml ppt/comments/comment*.xml"; */ string cmd = "unzip -p " + safefile + " ppt/slides/slide*.xml"; try { XmlParser xmlparser; xmlparser.parse_html(stdout_to_string(cmd)); dump = xmlparser.dump; } catch (ReadError) { cout << "\"" << cmd << "\" failed - skipping\n"; return; } // End: PowerPoint 2007 .pptx FYI the mime t...
2009 Jun 25
2
Bad Form?
...rat-mechanize-xml-rpc<https://github.com/leehambley/webrat-mechanize-xml-rpc/tree> The problem, or rather question is as such - I have, in my application''s test environment made use of PluggableParser, but overloaded it with the .default, and .html calls to parse everything as myown XMLParser class (copied almost verbatim from the CSVParser example in the RDoc) I have effectively rendered it as not a browser, by forcing it to treat anything that parses as XML as a WWW::Mechanize::File<http://mechanize.rubyforge.org/mechanize/WWW/Mechanize/File.html> rather than a WWW::Mechanize::...
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
.../usr/local/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:153:in `decode_tag'' /usr/local/ruby/lib/ruby/1.8/soap/parser.rb:179:in `decode_tag'' /usr/local/ruby/lib/ruby/1.8/soap/parser.rb:130:in `start_element'' /usr/local/ruby/lib/ruby/1.8/xsd/xmlparser/parser.rb:67:in `start_element'' /usr/local/ruby/lib/ruby/1.8/xsd/xmlparser/rexmlparser.rb:34:in `tag_start'' /usr/local/ruby/lib/ruby/1.8/rexml/parsers/streamparser.rb:24:in `parse'' /usr/local/ruby/lib/ruby/1.8/rexml/document.rb:173:in `parse_stream...
2012 Feb 28
4
JIRA anyone?
...effective /Users/TAllison/projects/cs_jira/vendor/cache/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/iconvcharset.rb:9:in `<top (required)>'': iconv will be deprecated in the future, use String#encode instead. /Users/TAllison/projects/cs_jira/vendor/cache/ruby/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:74:in `<top (required)>'': XML processor module not found. (RuntimeError) from /Users/TAllison/projects/cs_jira/vendor/cache/ruby/1.9.1/gems/soap4r-1.5.8/lib/soap/parser.rb:9:in `require'' I can''t any updates to this since ~2010. Which leads me to believe th...
2008 May 17
5
Help needed
Hi All, I am new to rspec and it seems that I don''t understand some basics. I need to have a XML import which should parse through XML data and saves all that in various mysql tables. The XML part works just fine and I can test this with rspec. However when I try to execute it "should find country object for DE" do I get an error. @user.country is a one-to-many relation in
2006 Mar 23
4
XML parser fixed
Hi, I changed the XML parser who have been write by Greg (Gregory Hill) and changed some things. It did not work in IE and Safari and opera. I fixed some bugs. Now it works fine in IE, Safari, Firefox and Opera. /* --------------------------------------- */ XMLParser = Class.create(); Object.extend(XMLParser.prototype, { initialize: function (XMLFile, options) { this.xmlFile = XMLFile; this.options = options; this.element = false; this.XMLParsed = false; this.getXml(); }, XMLHash: function () {...
2006 Dec 04
0
Paypal and soap4r gems
...2ruby.rb --wsdl http://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl --type client --force F, [2006-12-04T16:30:43.136405 #11579] FATAL -- app: Detected an exception. Stopping ... undefined method `new'' for nil:NilClass (NoMethodError) /usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/parser.rb:33:in `create_parser'' /usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser.rb:17:in `create_parser'' /usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/parser.rb:53:in `initialize'' /usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/...
2006 Feb 01
3
Parsing RDF coming from a URL
Hello, i''m writing an application that needs geocoding information for locations outside of the US. I''m using the brainoff.com geocoding service mappoint = Net::HTTP.new(''brainoff.com'', 80) response = mappoint.get(''/geocoder/rest/?city=Gent,BE'') logger.debug response.body and the body of the response is in the following form : <rdf:RDF
2020 Feb 22
1
running .jar files on Centos 7
...at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:62) at java.security.AccessController.doPrivileged(Native Method) at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:198) Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax. at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:118) at net.sourceforge.jnlp.MalformedXMLParser.getRootNode(MalformedXMLParser.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.r...
2009 Mar 30
0
Problem with Tomcat
...ntentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562) at org.apache.catalina.startup.Catalina.load(Catalina.java...
2009 May 09
0
XMLRPC raw_post getting run through Hash#from_xml
Im trying to create an api, and Im having trouble getting ActionController to not run the raw post data through Hash#from_xml (request.parse_formatted_request_parameters) for the XMLRPC post data. I essentially want it to run through XMLRPC::XMLParser::REXMLStreamParser.new.parseMethodCall(request.raw_post). However, I can''t figure out a clever, clean way to get request.request_parameters to not run since it can run as early as the dispatcher, which will essentially trigger Hash#from_xml on that call before it even gets into the scope...
2009 Jul 15
0
[PATCH] Make Perl strings translatable
...e "guest image $_ does not exist or is not readable" + die __x("guest image {imagename} does not exist or is not readable", + imagename => $_) unless -r $_; } } else { - die "open_guest: no libvirt support (install Sys::Virt, XML::XPath and XML::XPath::XMLParser)" + die __"open_guest: no libvirt support (install Sys::Virt, XML::XPath and XML::XPath::XMLParser)" unless exists $INC{"Sys/Virt.pm"} && exists $INC{"XML/XPath.pm"} && exists $INC{"XML/XPath/XMLParser.pm"}; - die &quo...
2016 Feb 04
3
Pi 2 Alternatives
We have a requirement for a new application that will be used fixed, portable, and mobile.? The hardware requirements drive the need for networking as well as some general purpose and special purpose interfaces.? The software requirements are quite simple in comparison to many of our much larger systems with similar hardware requirements.? We are not significantly restricted in choice of storage
2008 Aug 15
8
VCb0.crt....C++ runtime error.....
After installing 2005&2008 C++ , msxml 6, xmlparser I am getting an error box when running the App "Microsoft Visual C++ Runtime Library" "R6034 An Application has made an attempt to load the C runtime library incorrectly" from term I get [/code]ncts at ncts:~/.wine/drive_c/Program Files/NEC/SV8100 AU PCPro$ wine AppMgr.exe...
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
...le'' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29 - no such file to load -- xmlscan/scanner Exception `MissingSourceFile'' at /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:150 - no such file to load -- xmlscan/scanner Set XSD::XMLParser::REXMLParser as XML processor. Exception `MissingSourceFile'' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21 - no such file to load -- http-access2 Exception `MissingSourceFile'' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29 - no such file to load --...
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be causing it. I''m sure the path to the ruby executable is correct so what else could be causing it? -- Posted via http://www.ruby-forum.com/.