stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Validation by Instance







Validation by Instance

Validation by Instance 09/03/2002 11:37 AM

What if a single schema type won't suffice, and you need a DTD, RELAX NG, and W3C XML Schema? Michael Fitzgerald explains how to generate all three automatically from a representative XML instance.




This is a GrokNews Entry: (what is grok?)





Similar Items

Validation by Instance

Grok Headline matches for Validation by Instance

A Single Instance of iTunes


A Single Instance of iTunes 02/10/2004 02:51 AM
What's this nonsense about only being able to run a single instance of iTunes at a time in an otherwise multi-user environment?

It's silly enough that I can share my tunes across my home network yet I can't share them with someone on the same machine. Despite keeping all my music in /Macintosh HD/Users/Shared/Music, I still have to wander from account to account adding each new CD or iTunes Music Store purchase to each user's library just so that we can share _our_ (defined in the strictest sense) music. Surely your iTunes library on the local machine should show up in my iTunes window just like any other network-shared iTunes library?

You cannot open the application "iTunes" because another user has it open.
Ask the other user to quit the application, then try again.
[OK]
No, not OK.

Should I mistakenly leave "my copy" of iTunes open and wander off for a bit, there's no music for anyone until my return. No music for you! Nobody but an administrator capable of killing off other logins and processes has the ability to rectify this situation. Should every user really need to be an administrator to truly share this multi-user environment?

Bug or feature? If the former, it'd be a good one to squash. If the latter, why doesn't this feature appear in iPhoto or any of other apps (sans any DRM entanglements)?

Microsoft SQL Server 2000: Default vs
Named Instance


Microsoft SQL Server 2000: Default vs
Named Instance
07/09/2004 10:16 AM

CSS Validation


CSS Validation 02/10/2004 02:45 AM
As reported elsewhere this morning, if you use the Tantek hack in combination with the screen media type, your CSS doesn't validate. Long story short, it's because the validator is mis-reporting. It should validate, but it doesn't. Well, at...

IT project validation


IT project validation 01/04/2003 01:58 AM
CNET Jan 4 2003 1:02AM ET

The Search for Validation


The Search for Validation 07/06/2004 06:29 PM
Smart Mobs links to an inte resting article on how the teenagers are using blogs. The following two paragraphs make me raise my eyebrows in not completely unlike Spock -manner:

What's consistent throughout is the search for validation. Though most say they write entries for themselves, it's a disappointment if no one responds. One Evergreen student recently posted a message pleading for feedback. "it makes me sad that no one leaves me comments. . . . i write like these huge entries . . . about so much stuff . . . and no one even says anything in return. and i go to all of your xangas or whatevers and ALWAYS leave a comment.

...

Most teens abide by an unwritten code of the blogosphere: What happens online stays online. Many have digital friendships with classmates but never socialize in real life "because we don't hang with the same crowd, as one Evergreen student explained.

The first one I've heard from many people also in the Finnish blogosphere. Feedback is what keeps many people writing, though some are still happy just to organize their own thoughts, and don't really care if someone reads them or not.

But combined with the second one... It's amazing how naturally the teenagers consider online life a completely separate arena, one that has nothing to do with the real life. It makes me actually wonder about things like the Finnish blog awards, or the blogger meetings that are occurring everywhere. It is strange to meet fellow bloggers, indeed: many people write only of a single aspect of their life online, be it their angst at being alone or their hobbies, or their day-to-day life. Very few people pour all aspects of their life into the internet, and even then the "compression" of the bandwidth is very lossy: you only see some things, with the less interesting bits removed.

Many people have told me that they like to read their own blogs. I like to do it myself, sometimes (then again, I'm not very critical at myself :). This is not really very surprising, as it most probably is the kind of text you like to read - and also because it makes your own life to look more interesting. It's kinda like doing social pornography on yourself - something that all of us do anyway. It's no more different than looking through old photographs, or resting your eyes on your own furniture (you chose it, so it must be pleasing).

Who are you blogging really for?

Why do I write online?

I guess there is no simple answer to that. Part of me yearns for validation: the "Hey, I read your entry the other day and I liked it" -moments. Part of me is narcistic: I want to be known, scream out that my life has not been in vain. Part of it is simply about the engineers built-in desire to change things, to have impact on the world - nibble away at the corner of a huge statue so that it becomes more beautiful. Part of me wants a place to store my thoughts in some coherent order, and an important part of me just needs to write.

But I guess the most important thing are the people. Weblogs allow me to share things with the people I love, allow other people to discover me and perhaps - if I'm lucky - they become friends. What I write is only a small part of me, but it is the part I want you to see. They are things I consider important, or things that move me. Or things that are just silly and make me laugh.

I like bloggers. Blogging is not yet tainted by rampant commercialism, nor big corporations saying "we want this", or "we monetize that". Blogging is about creating something new, be it in the form of your life, or just repeating old things but in a new order. Bloggers have their own voice, some of them beautiful, and some of them not so beautiful

...

When validation becomes fuzzy


When validation becomes fuzzy 05/29/2002 02:24 PM

E-mail Validation with PHP


E-mail Validation with PHP 06/18/2004 08:38 PM
This tutorial will show you how to check to see if an E-mail address is valid.

New: NRG Address Validation 1.0


New: NRG Address Validation 1.0 07/21/2004 11:08 AM
NRG Address Validation provides integrated address management and validation for FileMaker Pro.

A New Source for Your Validation


A New Source for Your Validation 07/13/2004 08:37 PM

Since I first implemented ccValidator late last year, I've been encouraged by the amount of feedback and suggestions I've received. Common-ers everywhere have pointed out bugs, suggested improvements and encouraged it's development into a useful tool.

Today, ccValidator has a new home: validator.creativecommons. org and a handful of new features. The validator now supports metadata specified as a seperate file with a <link ...> tag, and hopefully provides some improved error messages when it runs into problems. If you have any validation links, don't worry: we're redirecting calls to the validator at yergler.net to it's new home. Go ahead, kick the tires, and drop me a line if you have a suggestion or bug report.

Validation with JavaScript


Validation with JavaScript 12/02/2003 12:15 AM
Form validation can help to reduce the amount of bad data that gets saved to your database. In this article, find out how you can write a simple JavaScript form validator for basic client-side validation, and learn a little bit about JavaScript OOP in the process as well.

Validation, Moderation, Constipation


Validation, Moderation, Constipation 06/17/2004 04:37 PM

Validation matters. No it doesn't. Validation is hard. No it isn't. Standards are flexible. No they're not. Does this conversation sound familiar?


DOM Level 3 Validation is a W3C
Recommendation


DOM Level 3 Validation is a W3C
Recommendation
01/27/2004 10:20 AM
2004-01-27: The World Wide Web Consortium today released Document Object Model Level 3 Validation as a W3C Recommendation. DOM Level 3 Validation is a module that provides guidance to programs and scripts to dynamically update the content and the structure of documents while ensuring that the document remains valid, or becomes valid. Learn more about the DOM Activity. (News archive)

Client side validation


Client side validation 01/22/2004 03:09 AM

Brent Simmons: What I could do—what I’d like to do—is include Mark’s and Sam Ruby’s validator in NetNewsWire.

+1.  I'm in.

This will require some work, none of it hard.  Prereqs are Python 2.x and pyxml.  There currently are three interfaces: a CGI/web interface, a command line, and a web interface.

  • The CGI/web interface contains a number of absolute paths and direct references to the host.  However, this is probably the best place to start.
  • The command line interface is designed primarily for development use.  However, something like this that returns back a simple return code might be useful for your optional indicator.
  • The web service interface accepts a simple HTTP POST, optionally with SOAP envelope and body elements.  This could be evolved into something that does exactly the same as the above, but without requiring any installation on the client.  Of course, this would require that the user be online at the time, and would have quite different performance characteristics.  Overall, probably not the path to pursue in this case.

In any case, none of this work is difficult, and I would be glad to do it.


Client-side validation


Client-side validation 01/22/2004 02:10 AM
Mark Pilgrim, in If people won’t go to the validator, suggests running the validator on the client rather than on the web.

Last week I got a surprising amount of requests from NetNewsWire users who’d like to have a validator built in to NetNewsWire. (Many of these people are people who test and monitor their own feeds with NetNewsWire.)

What I could do—what I’d like to do—is include Mark’s and Sam Ruby’s validator in NetNewsWire. The validator would stay out of the way by default, but it would be there for people who want it.

There’s an issue, though: the validator is open source, licensed via the Python license, and I don’t know if I can include it with NetNewsWire. (License gurus please clarify.)

But more importantly, licensing issues aside, I wouldn’t do it without Mark’s and Sam’s agreement.

(In case you’re wondering about the technical details: the validator would be included unmodified, as a set of files on disk, but inside the app package, in Contents/Resources/).

CC Validation Without Instant
Verification?


CC Validation Without Instant
Verification?
12/07/2002 08:31 AM
"If possible, they would like to bypass the stage of having credit cards approved by an online processor. What they would like to do is have an online shopping cart but then receive the details of the order either via email or through a secure website and then process the orders manually."

Character Repertoire Validation for XML


Character Repertoire Validation for XML 01/16/2004 10:57 AM
This article presents a schema language for limiting the range of characters permitted in an XML document. It can be used to protect legacy applications or to enforce restrictions in document workflows.

W3C HTML Validation Service


W3C HTML Validation Service 04/17/2004 08:53 AM
W3CMarkup Validation Service .. HTML 4.01 Transitional .. validator over at W3C .. Validate your pages .. validate the XHTML .. validating code .. W3's validator .. validates .. more .. v

validator.w3.org
track this site | 4 links


TrackBack and XHTML Validation


TrackBack and XHTML Validation 03/13/2003 10:15 AM
One of the issues with TrackBack currently is that the RDF that TrackBack inserts into pages breaks XHTML validation. Now,...

Form and Spelling Validation


Form and Spelling Validation 10/29/2003 02:22 AM
Most dynamic web sites rely heavily on forms. From user authentication to entry of news items, we use forms to accept user input. There are many different ways we can validate data from the user. In this tutorial, we will examine several of the more common items that need validation and provide examples for each. We will also explore how to check documents for misspelled words and suggest proper replacements.

Client-side validation with XML


Client-side validation with XML 07/15/2004 05:32 AM
CNET Jul 15 2004 10:14AM GMT

When validation becomes fuzzy (xmlhack)


When validation becomes fuzzy (xmlhack) 05/30/2002 08:09 AM

URI, URL and Email syntax validation


URI, URL and Email syntax validation 04/13/2005 03:49 AM
We're moving to SourceForge

Certified Server Validation


Certified Server Validation 12/19/2004 03:41 PM
Brian Livingston of the Windows Secrets newsletter talks in this article about Certified Server Validation, a proposed antispam standard that will reduce spam by a lot without taking very computing cycles on the server. Hello ‘Certified Server,’ Goodbye Spam Have you ever experienced a difficult problem that seemed unsolvable — until you realized at the last moment that a simple solution was staring you right in the face? Something like that is happening in the…

Direct and Related Links for 'Certified Server Validation'


Validation is a process, not an action
(XML.org)


Validation is a process, not an action
(XML.org)
06/07/2002 08:34 AM

Validation vs. Code Bloat


Validation vs. Code Bloat 06/18/2002 08:16 AM
We all know that with the browser wars starting to simmer again, that code validation is more important now than it has been in several years. However, code size is just as big an issue in speed sensitive environment of the web.

Does W3C Validation Help In Search
Rankings?


Does W3C Validation Help In Search
Rankings?
09/23/2004 03:25 PM
WebProNews Sep 23 2004 6:56PM GMT

Understanding ASP.NET Validation
Controls


Understanding ASP.NET Validation
Controls
09/06/2004 06:28 PM
WebDevInfo Sep 6 2004 8:28PM GMT

XML-Deviant: Constraining Validation


XML-Deviant: Constraining Validation 08/27/2004 01:49 PM
What's the difference between validation and business rules? XML developers discuss how and why to use them.

Sympoll Input Validation


Sympoll Input Validation 08/06/2002 12:53 PM

parking validation [Flickr]


parking validation [Flickr] 12/29/2004 01:10 AM

mathowie posted a photo:

parking validation

stairs


Gallery Input Validation


Gallery Input Validation 08/12/2002 10:49 AM

phpBB Input Validation


phpBB Input Validation 08/06/2002 12:53 PM

HCL Launches Computer Systems Validation


HCL Launches Computer Systems Validation 09/01/2004 08:37 PM
Financial Express Sep 1 2004 11:58PM GMT

Formcat: form validation generator.


Formcat: form validation generator. 01/06/2005 12:15 AM
Formcat 1.01 released

Wherefore Art Thou, Schema Validation?


Wherefore Art Thou, Schema Validation? 07/06/2004 03:08 PM

One kink I've recently noticed in a number of 'scripting languages' geared towards producing web apps is the utter lack of support for XML Schema. I'm surprised by this, since a good Schema validator can save a lot of code when used properly.

Read on for ranting and raving.

Continue reading "Wherefore Art Thou, Schema Validation?"

Click here to comment on this entry


GCF Validation for 3G WCDMA Test Cases


GCF Validation for 3G WCDMA Test Cases 02/17/2004 03:50 PM
3G Feb 17 2004 6:08PM GMT

validate_form.js: HTML form validation


validate_form.js: HTML form validation 07/05/2004 03:44 PM
validate_form.js: Version 1.9b released

User-Friendly Form Validation with PHP
and CSS


User-Friendly Form Validation with PHP
and CSS
04/23/2004 07:14 PM
Any non-trivial web application processes form data, and every secure web application has to validate that data on the server. Balancing security with user-friendliness can be tricky. Jeff Cogswell demonstrates one approach.

Dynamically Typed: Validation with CType


Dynamically Typed: Validation with CType 05/12/2004 08:28 AM
In the latest post from Dynamically Typed, there's a new posting dealing with the standardization of the CType functions into the default PHP builds.
Grok Description matches for Validation by Instance
GrokA matches for Validation by Instance

Validation by Instance

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Site Redesign Needed
at Not-For-Profit

New book: Java
Development with Ant

Architectural
Principles of the
World Wide Web
released

Xerces2-J 2.1.0
released

XML Security Library
0.0.9

DocBook XSL
stylesheets 1.54.1
released

Ask these questions
before you hire a
hacker or cracker

I'm confused. . .
What is '.NET'
anyway?

Use JSP to create
your own VRML world

Seven reasons not to
take that job

Managing your
friends ain't easy

Exception management
in .NET

Better use of the
STL in C++

Java package
functionality

The evolution of a
design

Combine XML and
databases

Manage your time
The Art of eCommerce
Web Design

New tool for ISPs,
web-based email
turns up the heat on
spam

Liberty Alliance
Pads Membership

OASIS Forms UDDI
Technical Committee

CERT Amends DNS Flaw
Fix

Microsoft Publishes
Windows APIs

RIAA Site Defaced by
Hackers

Netscape Tries Again
With 7.0

New Active-X
Vulnerability
Discovered

Standards Orgs Sign
on as OASIS UBL
Liaisons

Eclipse Loads Open
Source Technology
Project

RDF Concepts and
Abstract Data Model
Working Draft
Published

W3C Team Talks at
22nd International
Unicode Conference

W3C Team Talks in
September

Architectural
Principles of the
World Wide Web
Working Draft
Published

sdf
Design Patterns in
XML Applications

Optimising Return On
Investment with
Intranets

The Perfect Job -
Part 1

PHP Class
'pdf_search'
released

PHP Class
'AzDGPasswordGenerat
or' released

pdf_search
XML-Signature XPath
Filter Becomes a W3C
Proposed
Recommendation

Web Server Testers
Show Major IIS
Security Hole

Professional PHP4
XML, Ch 10: Putting
It Together (part
3)

Mozilla 1.1 Released
Teoma Database
Update

CyberNeko Tools for
XNI: XML trick bag

AzDGPasswordGenerato
r

Ampoliros PHP web
applications
platform release
2.7.6 is out

PHP Class
'AzDGMailCrypt'
released

Bugzilla Security
Problems

Caldera Goes Back to
the Future

what is grok?