Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Schema for IPv4: valid or not?

Thread Tools

Schema for IPv4: valid or not?

Christian Reiser
Posts: n/a

i have two schema validators:

And an snippet from my schema:
<xsd:simpleType name="ipv4">
<xsd:restriction base="xsd:token">

My xml:
<loopback> </loopback>

I expect this to be valid... thinks so to - disagrees. I would like to have a valid schema also with
leading and trailing spaces/tabs. I know, that by using token as
restriction-base also "10.1. 12.34" is valid - is there a better way?


Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
using XPATH on XSD schema to get valid XML tags Kev Java 1 12-22-2005 04:36 PM
Valid an XML document with XSD schema XML 5 11-23-2005 01:04 AM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
Cannot create a valid instance from my schema wooks XML 1 08-12-2004 01:03 PM
[XML Schema] Creating valid string values... kelvSYC XML 0 11-11-2003 08:35 PM