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 Validation - What's good for XSD good for DTD? Need XML Expert? - 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-15-2008, 01:27 AM
RapidDog RapidDog is offline
Junior Member
 
Join Date: May 2008
Posts: 4
Default

XML Validation - What's good for XSD good for DTD? Need XML Expert?


Take the following XML File:
<?xml version="1.0"?>
<root>
<metric_item>
<quantity>63</quantity>
</metric_item>
<english_item>
<quantity>One Bushel</quantity>
</english_item>
</root>

In XSD, this can be easily verified:
<xsd:schema xmlns:xsd=".....">
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="metric_item">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="quantity" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="english_item">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="quantity" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

But in DTDs, I'm not sure if can be done (w/o namespace at least). If no, is it considered "bad form" or "bad design"? Should all XML docs be DTD-verifiable?
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
Which is good VB.NET or C#.NET for ASP programming...? security .Net (ASP.Net, VB.Net, C#) 1 05-08-2008 08:58 AM
What's a good Linux distro for this? geeksquad Linux 1 05-06-2008 10:34 PM
Any good web-based businesses????? garretts83 Business & Legal Issues 1 05-06-2008 06:33 PM
Where can i get good e-books on ASP .net using C# .net and C# .net .. if any knows... java1285 .Net (ASP.Net, VB.Net, C#) 0 05-06-2008 04:57 PM
Is this a good laptop?... vtowngirl08 Java, Java Servlets & JSP 3 05-06-2008 01:44 PM

Your Ad Here

All times are GMT. The time now is 07:18 PM.