DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = XML Namespaces: Which is preferable? Confused Beginner....? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2008, 10:55 PM
RapidDog RapidDog is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default

XML Namespaces: Which is preferable? Confused Beginner....?


I'm currently writing a parser for a custom XML file of my own design (a requirement mgmt tool to be specific), but am struggling with how to deal w/namespaces. Every requirement has a set of native attributes (int, float, enum, etc), but I'm worried I'm overcomplicating things. Here is what I want to do:

<int:attr id=”100” name=”Int Attr 1”>
<int:default>4</int:default>
<int:base>16</int:base>
...
</int:attr>

<float:attr id=”101” name=”Float Attr 1”/>
<float:default value=”1.0”/>
<floatrecision value=”5”>
</float:attr>

<enum:attr>
....

...and so on. The nice thing is, everything has the same name (just different namespace)... Alternatively, I could just name everything "floatattr", "intattr", and avoid namespaces all together.

To any one knowledgable or experienced w/XML - Which would you choose?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help. Confused between database server of PostgreSQL and a hardware db... elinor_joy PostgreSQL 2 06-19-2008 07:40 PM
Hi! I'm a college student & I'm confused about w/c laptop I should buy. Can angelique C, C++ 2 05-08-2008 09:11 AM
Which Book is good for a Beginner for Oracle 10g? Paresh P Oracle 0 05-06-2008 05:01 PM
Confused with apache web server, help? Alan Y Apache 1 05-06-2008 01:31 PM
facelets applets jsp I'm confused? Hernan B Java, Java Servlets & JSP 1 05-06-2008 09:32 AM

Your Ad Here

All times are GMT. The time now is 08:39 PM.