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

Re: PSVI using existing infoset items

  • From: Eric van der Vlist <vdv@d...>
  • To: xml-dev@l...
  • Date: Tue, 16 Oct 2001 22:38:32 +0200

Re:  PSVI using existing infoset items
Simon St.Laurent wrote:


> 
> I almost wonder if there'd be some good way to define the psvi: namepace
> as a 'shadow' namespace, ignored by XPath and XSLT unless a switch was
> flipped.  That might be too much, but I'd rather not be forced into
> using attributes only to cover PSVI information.  There's a lot of it.


If you mean a switch that can be switched on/off during a 
transformation, this seems difficult without modifying the XSLT 
processors which is what the proposal would like to avoid.

Otherwise, you could write a SAX filter to filter out the PSVI 
namespace, it's probably not worth the pain, though since you don't have 
to use a PSVI unless you need it...

As a last alternative, it would also be possible (and quite simple) to 
pass the 2 infosets (source document and PSVI) to a transformation (one 
as source, the second as a parameter). The way to link a node between 
the source and the matching information of the PSVI doesn't seem 
obvious, though, and I don't think it could easily do the trick.


> 
>>I also don't think you need anything more than the qualified name for the type of each element. If an application wants details about the type, then it should look at the schema. 
>>
> 
> I don't ever want to have to look at the schema.  In fact, needing to
> have to look back into the schema in order to interpret the PSVI seems
> to negate nearly the entire benefit of this proposal.
> 
Yes. And I would add that one of the difficulty (but also one of the beauty) of the job would be to define a vocabulary generic enough to be used with the outcome of different schema languages.


Also, to come back to my example, the primitive datatypes may be more 
important to some applications than the actual one.


There would, of course, be a balance to search between verbosity and completeness...


Thanks

Eric
-- 
Rendez-vous à Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


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.