Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old September 9th, 2015, 09:40 AM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2015
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I stored my document into an eXist database collection. The file extension is html. I used every different form of application that I could find. Nothing worked. The simple fact of the matter is that if I place namespaces inside my html document, it simply won't work. This is a major html oversight that needs to be corrected.
Reply With Quote
  #12 (permalink)  
Old September 9th, 2015, 09:56 AM
Friend of Wrox
Points: 6,522, Level: 34
Points: 6,522, Level: 34 Points: 6,522, Level: 34 Points: 6,522, Level: 34
Activity: 50%
Activity: 50% Activity: 50% Activity: 50%
 
Join Date: Nov 2007
Location: Germany
Posts: 1,220
Thanks: 0
Thanked 237 Times in 236 Posts
Default

It won't happen, the way the W3C has taken with HTML5 is to predefine the vocabulary of HTML, SVG and MathML and to not support any prefixed and namespaced element or attribute names with a few exceptions like xlinkorum :href for SVG. I am not familiar with exist, but I am sure they have some user forum where someone can help with serving a document as application/xhtml+xml instead of text/html.
Reply With Quote
  #13 (permalink)  
Old September 9th, 2015, 10:09 AM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2015
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Then perhaps it's time someone overrides the w3c. They obviously have forgotten the simple principle of Keep It Simple Stupid. This is far from simple. Web browsers should ignore namespaces when webpages are opened. The only real use of a namespace is when documents are validated. And I don't know any web browser that validates documents. I think web browsers should include a complimentary validator, but I guess the w3c is too lazy to create web browser validators.
Reply With Quote
  #14 (permalink)  
Old September 9th, 2015, 10:20 AM
mhkay's Avatar
Wrox Author
Points: 18,252, Level: 58
Points: 18,252, Level: 58 Points: 18,252, Level: 58 Points: 18,252, Level: 58
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,929
Thanks: 0
Thanked 281 Times in 276 Posts
Default

I'm afraid you're asking in the wrong place here. We're XML folks here, and we find the reluctance of the browser vendors to embrace XML as frustrating as you do. (In fact, it's the browser vendors who decided to override W3C on this.)

Rest assured, though, that it IS possible to get browsers to display SVG graphics if you get all the incantations right.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting started with Eclipse Chapter1 of programming mrguru2012 BOOK: Beginning Android Application Development 3 November 11th, 2011 09:19 AM
Just getting started with server side programming. fredzbooks BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 August 4th, 2008 09:24 PM
VB xml Programming helgaana1 Beginning VB 6 2 April 10th, 2005 11:03 AM
the source code of "Beginning C# XML" paggie All Other Wrox Books 6 March 4th, 2005 02:10 AM
About XML-DSO on IE5 programming reference qualsn Wrox Book Feedback 1 December 5th, 2003 09:13 AM



All times are GMT -4. The time now is 12:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.