|
I'm trying to open my .svg files and set the height and width attributes to 100% so that my graphics appear correctly on my web pages as recommended here http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Web-SVG-Positioning.html[^]. Having looked around the net at many possible solutions to them not floating and sometimes appearing with scroll bars this appeared to be the one to go for.
So having written some C++ using MSXML2 from a VS2008 C++ on windows8 (using
msxml6.h ) to change these attributes in all my svg files I find it works on some (inkscape) and not others (graphviz dot).
The returned reason, is:
Could not load file, Reason: Parameter entity must be defined before it is used. Source String: %svg-prefw-redecl.mod;]]>
Reports of MSXML not handling this are all over the net, the problem code seems to be in in
http://www.w3.org/2000/svg[^] for example:
<!-- Pre-Framework Redeclaration Placeholder ..................... -->
<!ENTITY % svg-prefw-redecl.module "IGNORE" >
<![%svg-prefw-redecl.module;[
%svg-prefw-redecl.mod;]]>
- can anyone recommend a way to proceed?
modified 24-Jun-13 7:55am.
|
|
|
|
|
I've run into similar scenarios in my project; converting .svg "coordinates" into valid .xml content ... have you tried just lopping off the header and bolting on the standard .xml document preamble?
|
|
|
|
|
Hi,
Re bolting on standard XML preamble: I've now started using the Inkscape XML editor to open and save my GraphViz Dot .svg files, doing this way is time consuming but at least this brings some consistency. It also removes the need to use a program to edit the width and height which was what was failing.
I'm now getting all my .svg files displaying nicely in IE10, no scroll bars, and when the my IE10 window gets too narrow they shrink to fit: http://www.jgdprojects.co.uk/ModelUse.htm[^]
But in IE8 mode neither ,svg or ,png are currently appearing, just white spaces...
|
|
|
|
|
Good morning,
Are you sure that it's just blank? Or does a right-click context menu provide you with several options. Options such as "zoom-in", "zoom-out", "Save svg as", etc?
As you say, and as I belabored the post with programming lingo, doing the same on a .png (or a .jpg for that matter) will/should show "save-as" but there's no scalar operation.
Off the subject, but on CP (codeproject), I'm using IE8 now and as far as I know without free svg-viewer plugins (although several Adobe apps are installed), do you have troubbles signing-in to the site? This Alt+mouse-click behavior required to get my name and password on the control lines is driving me to stow my harpoon!
|
|
|
|
|
Definitely blank. I've used Fiddler as recommended to me in my last svg query (below this one) and I can see that using
IE10 in IE8 mode, the server is sending .svg and .png (as expected) and the browser is displaying
the .svg.
However using IE10 in IE8 mode Fiddler shows only the .svg being sent when I expected the .png.
I'm going to setup an XP PC with Windows 8 to see what really happens with IE8.
I've not noticed any problems signing in.
|
|
|
|
|
I wonder ...
I use Dreamweaver for a lot of xml/html/http(sleuthing/etc)/css. And recently have signed on to style sheets as programming commitment (that is, to be studied at some point in time) and JUST discovered the F12 key which in IE8 brings up this whole Developer Tools scenario.
Might F12 and the four tabs of this interface give you a leg up on some scripting function or method that is being allayed when it comes time to see client side content? This migght actually name a script from whichh the detective work might take a better direction.
I've looked up Fiddler but haven't downloaded it. And as far as website entities, have only dealt with the lack of ability to do any real programming with ASP.NET (or SQL Server as result) due to basic cost limmitation. Thinking about springing though.
|
|
|
|
|
I've written my first real web page: one .html file and one .css file with .svg and .png drawings in a images sub-directory using VS2008 as an editor and Inkscape and Graphviz Dot to generate the .svg and .png graphics.
When I open the page from my Windows 8 PC using IE10 the .svg graphics are used, but when I upload it to the server I use, and open it using IE10 the .png graphics are loaded instead.
http://www.jgdprojects.co.uk/HTMLPage.htm[^]
I've used IE10 Dev Tools to validate the HTML5 and CSS and all seems fine according to the IE10 Dev Tools, apart from IE10 Compatability Mode and IE7 mode when I get a '404 - File or directory not found' message which I haven't yet investigated but presume is unrelated. Haven't tested with other browsers yet.
Any idea as to why I don't see the .svg graphics online appreciated?
|
|
|
|
|
The simplest way to diagnose a problem like this is to use Fiddler[^].
All of the SVG files on your server are returning "404 - File not found" errors. The most likely cause is that IIS on the server doesn't have a MIME type configured for SVG files. As a security measure, IIS will not return static files which don't have a MIME type configured.
There's information on adding the MIME types on the IIS site[^], using either the web.config file[^] or IIS Manager[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard,
My Website host has added some XML around
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> to a config file and all's fine now.
Thanks
|
|
|
|
|
Hi All,
I have added a new web service that creates an object in a database but I'm not sure what type I should be returning from the WS method as I need to access data from the newly created object and any error info that may be returned instead of an object.
Any help or guidance would really be appreciated and yes i have had a look through the forums and googled this but I'm not quite sure how to phrase what I need to ask, thanks again.
Tadhg
|
|
|
|
|
Can you elaborate me more about it?
|
|
|
|
|
Dear all,
I'm a student/researcher in the field of Rich Internet Applications development. Please help me to gather some data by filling this questionnaire if this is related to you.
Link to the Google Form
Thank you a lot.
PS: Please add your ideas on this thread to start a discussion about this. Your ideas will help not only me but to anyone relates.
Rapid Application Development(RAD) of AJAX based Rich Internet Applications(RIA)
AJAX is an approach to develop responsive and highly interactive Rich Internet Applications (RIA), using a utilized organic combination of several established web technologies such as JavaScript and XML. Because of the fact that the AJAX applications can be seen as a hybrid of desktop and web applications, inheriting characteristics from both worlds, for an example we can take the well-known Facebook. Various traditional applications change to use AJAX, to drive such as forms authentication, forum posts, table paging and so on. Companies have begun to use AJAX and its component technologies even to develop large-scale, Web-based enterprise applications, such as Gmail, Google Groups, Google Maps, etc…
[This survey is focusing on gathering the stakeholders experience about using RIAs and Rapid Application Development (RAD) of AJAX based RIAs, for researching purposes of the difficulties engaged in the AJAX RIA engineering.]
[This questionnaire may answered by the stakeholders related to the AJAX based RIA engineering]
[I guarantee that your data will not be used for any other purposes than specified and your privacy will be preserved.]
EnDee
|
|
|
|
|
hi.. i am just doing my final yeAR PROJECT. i am to design a website using php technology. so whenever i try logging in, it brings a blank page. help please?
|
|
|
|
|
abbasnafiu wrote: help please? With what? You need to provide full details of your problem if you want people to help. However, if you just want someone to write your code, then I'm afraid that will not happen.
Use the best guess
|
|
|
|
|
Message Closed
modified 15-Jun-13 2:35am.
|
|
|
|
|
Wrong forum; this is for programming questions.
Use the best guess
|
|
|
|
|
A good new idea would be the first thing that you would need.
|
|
|
|
|
First you are using wrong forums website for this question. This forums only for Codes.
|
|
|
|
|
|
Hello All,
With Example with our website. Here we can't show our client website. So please suggest with below points.
We just made a website www.imensodigital.com. It's showing some problem in redirection. Homepage working properly when we entered in internal URL then click on on other pages again come back with homepage button it's redirecting on www.imensosoftware.com. We are using same Hosting for both website. Currently we did not put .htaccess file there. We had discussed with hosting people they told us there is problem in .index files. but we did check there is not showing any problem. Please help where can be problem?
Regards,
David Kroj
|
|
|
|
|
Message Closed
modified 15-Jun-13 2:36am.
|
|
|
|
|
Thanks for reply. Problem has been resolved. but problem was from hosting side
|
|
|
|
|
Hi
Can we combine area and line chart in rdlc report viewer?
Thanks
Piyush
|
|
|
|
|
Dear All,
Give me any suggestion about design for this website. Can you check from your side if any error is showing if yes please let me know.
Thanks
|
|
|
|
|
Dear friends,
I have button which has to show me date and time in a tooltip when I mouseover it.
Does anyone know how could I write a piece of code to show me date and time as a tooltip when I put mouse over the button.
I wrote this script which generates time and I'm stuck...don't know how to integrate it in my html code
<script>
var d=new Date();
document.write(d);
</script>
Thanks in advance.</pre>
|
|
|
|