Search the web
Sign In
New User? Sign Up
metal-dev · MetaL Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
XSD schema   Message List  
Reply | Forward Message #493 of 553 |
Re: [metal-dev] XSD schema

Hello,

on 12/02/2006 10:43 PM dobes_vandermeer said the following:
> I've been working on an XSD schema for the configuration, so that my
> xml editor can do auto-completion and friendly structured editing/
> validation. I've had to modify my copy of xml_parser.php to ignore
> attributes since it rejects the declaration saying "Simplified XML
> can not have attributes in tags".
>
> Hopefully this idea of te XSD schema is something people will like
> and you'll maintain it, or at least make it allowable to use the
> schema in your xml.

Sorry for the delay. I have been at PHP Conference Brasil 2006 and I am
still catching up on pending e-mail.

I need to make time to look at this closer, but you do not need to hack
the XML parser class, it the simplified XML option is controlled by the
MetaL compiler.

I was not aware that when you specify the schema with a XML file for
MetaL engine, the schema als gets parsed. I need to look closer at this
to avoid thes problems.

Anyway, I use Kate to edit my project files. I am not sure if it
supports XML schema based validation or auto-completion . Which editor
do you use that makes use of the XML schema?

As for the schema file, it may be useful to distribute with Metastorage,
if you would not mind. Of course you would be credited for your
contribution.

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/



Tue Dec 12, 2006 7:11 pm

mallemos
Offline Offline
Send Email Send Email

Forward
Message #493 of 553 |
Expand Messages Author Sort by Date

I've been working on an XSD schema for the configuration, so that my xml editor can do auto-completion and friendly structured editing/ validation. I've had...
dobes_vandermeer
dobes_vander...
Offline Send Email
Dec 3, 2006
7:15 pm

Hello, ... Sorry for the delay. I have been at PHP Conference Brasil 2006 and I am still catching up on pending e-mail. I need to make time to look at this...
Manuel Lemos
mallemos
Offline Send Email
Dec 12, 2006
7:11 pm

Of course you're welcome to distribute the file. The point I was making about the XML parser is that it rejects the schema declaration, which must be included...
Dobes Vandermeer
dobes_vander...
Offline Send Email
Dec 12, 2006
8:11 pm

Hello, ... Oh, I see. I will look into that soon so it stops complaining. ... Ok, I do not use Eclipse because it is too heavy, but I will take a look at that...
Manuel Lemos
mallemos
Offline Send Email
Dec 14, 2006
9:19 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help