[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Micro XSD for Micro XML?

  • From: Stephen Green <stephengreenubl@gmail.com>
  • To: Dave Pawson <davep@dpawson.co.uk>
  • Date: Fri, 24 Dec 2010 12:31:48 +0000

Re:  Micro XSD for Micro XML?
I found I needed to add a namespace to get 'oXygen' to use
a MicroRNG RelaxNG schema, then it was OK.

So

<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<start> ...

validated some MicroXML just fine in oXygen 11.2 but only with the
namespace included. It didn't work (v11.2) with just <grammar><start> ...

It was the need for a namespace which caused problems with a
lightweight W3C XML Schema. If MicroXML only includes the xmlns
and treats it as just an attribute and doesn't support prefixes then
I would want to be able to have my MicroXML W3C XML Schema
(subsetted) start with

<schema  xmlns="http://www.w3.org/2001/XMLSchema">...

but this causes problems with tools which seem to expect

<xs:schema  xmlns:xs="http://www.w3.org/2001/XMLSchema">...

- presumably something to do with the W3C XML Schema spec?


----
Stephen D Green
----
Stephen D Green



On 24 December 2010 11:02, Dave Pawson <davep@dpawson.co.uk> wrote:
> On Fri, 24 Dec 2010 09:16:05 +0000
> Stephen Green <stephengreenubl@gmail.com> wrote:
>  So how 'easy' would it be to include this in
>> validating MicroXML parsers (if there ever are such things)? Perhaps
>> easier than having to implement something like XSD which isn't valid
>> as XSD; perhaps less risky anyway.
>
> This is a schema, so I can use it today,
> with nxml-mode/emacs for editing,
> with Jing for validating.
>
> Not sure what more I'd need?
>
>
> --
>
> regards
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.