DMS Lists | 1 Dec 2009 21:30
Picon
Favicon

MXV - Model-driven XML Vocabulary design using OASIS UBL NDR

Data Management Solutions is pleased to share the narrated (15 mins) and animated slides “MXV – From UML data model to XML Schema Library using OASIS UBL NDR”.

 

Available from http://d-m-s.co.nz/MXV%20From%20UML%20data%20model%20to%20XML%20Schema%20Library%20using%20UBL%20NDR%202.0%20v0.5.pps (12.5MB pps file)

(The issues with the audio track and some animations of the previously published slides have been fixed.)

 

These slides were presented to the New Zealand State Services Commission in April 2009, and present the XML Schema design solution implemented at the New Zealand Ministry of Education.

 

Your feedback or questions are welcomed.

 

    Juerg Tschumperlin

 

    Data Management Solutions

    Wellington, New Zealand

   

 

cc: ubl-dev

Henry S. Thompson | 4 Dec 2009 18:18
Picon
Picon
Favicon

Draft PER of Associating Style Sheets with XML documents 1.0 (Second Edition) available for review

The W3C's XML Core Working Group's charter [1] includes 
maintenance of the Associating Style Sheets with XML 
documents 1.0 (First Edition) Recommendation [2].

In response to comments on this specification, the WG has
developed a draft Second Edition of the spec that is
currently available for general review and comments:

Associating Style Sheets with XML documents 1.0 (Second Edition)
http://www.w3.org/XML/2009/12/xml-stylesheet/

This second edition incorporates all known errata as of the 
publication date, clarifies several areas left unspecified 
in the earlier edition, and has been restructured to allow 
other specifications to reuse the rules for parsing 
pseudo-attributes from a string. This edition, once it 
becomes a Recommendation, will supersede the previous edition 
of 29 June 1999.

This current draft has no official status. The Working Group 
is publishing this draft to allow for general review by 
W3C members and the public at this time in anticipation of 
its being submitted as a Proposed Edited Recommendation (PER) 
at a future date.

Please submit any comments on this document to 
www-xml-stylesheet-comments <at> w3.org [3]; public archives [4] 
are available. 

[pp] Paul Grosso (co-chair)
for the XML Core Working Group

[1] http://www.w3.org/XML/2009/02/xml-core-charter.html
[2] http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/
[3] mailto:www-xml-stylesheet-comments <at> w3.org
[4] http://lists.w3.org/Archives/Public/www-xml-stylesheet-comments/
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht <at> inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
subscribe: xml-dev-subscribe <at> lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

mike | 4 Dec 2009 19:37

Schema-Free Query Vs. Structure Transformation

The nice thing about schema-free query (navigationless access) is that no matter from what angle you query the hierarchical structure, it preserves the semantics of the structure and the query. In fact the structure can be accessed from multiple angles (paths) in a single query simultaneously. This also increases the data value dynamically. This blog gives a little background and example of this. http://www.adatinc.com/blog1/?p=37 

  Regards,

                 /Mike

 

Michael M David

Advanced Data Access Technologies, Inc

www.adatinc.com

Olivier Ishacian | 7 Dec 2009 09:14
Favicon

[ANN] Release of XMLmind XSL-FO Converter v4.3.2

XMLmind XSL-FO Converter Personal Edition v4.3.2 can be downloaded from
http://www.xmlmind.com/foconverter/downloadperso.shtml

Professional Edition users, please upgrade using this form:
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through
http://www.xmlmind.com/foconverter/upgrade.html.)
    _____________________________________________

v4.3.2 (December 4, 2009):

More powerful, yet nicer and easier to use, XMLmind XSL
Utility.

Out of the box, in addition to DocBook and XHTML documents,
XMLmind XSL Utility now allows to convert DITA 1.1 documents
to production-quality XHTML 1.0, XHTML 1.1, HTML 4.1,
Java[tm] Help, HTML Help, Eclipse Help, PDF, PostScript®,
RTF (can be opened in Word 2000+), WordprocessingML (can be
opened in Word 2003+), Office Open XML (.docx, can be opened
in Word 2007+), OpenOffice (.odt, can be opened in
OpenOffice.org 2+).
    _____________________________________________

More information:
http://www.xmlmind.com/foconverter/changes.html

--
XMLmind FO Converter Information List
xfc-announce <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xfc-announce

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
subscribe: xml-dev-subscribe <at> lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Costello, Roger L. | 10 Dec 2009 13:49
Picon
Favicon

Write Programs That Don't *Do* Anything ... Express Relationships/Rules


Hi Folks,

Recently I read something [1] that is very exciting and want to share what I learned. 

Rules are important. And they are everywhere.

A key new feature of XML Schema 1.1 is the ability to express rules. For example, you can express this rule:

    Level 1 managers can sign off on purchase requests 
    that do not exceed $10K.

Rules are all about expressing relationships. Recall from your school days you learned this mathematical relationship:

    2 + 3 = 3 + 2

This relationship uses specific values. You learned that the relationship can be generalized: 

    For any value x and any value y:

        x + y = y + x

You can call this a relationship or a rule. And it always holds true.

Here's another example: 

    A rectangle that is 6 units in length and 
    5 units in breadth has this area:

        30 = 6 * 5

This can be generalized to:

    Area = Length * Breadth

It is important to recognize that this relationship is not "assigning" Area the result of multiplying
Length and Breadth, i.e., it isn't doing anything. Rather, it is a statement of the relationship that
exists between the Area of a rectangle and its Length and Breadth: 

    If you multiply Length and Breadth the result is 
    the Area of the rectangle.

x, y, Area, Length, and Width are called variables. They are called variables, not because their values
vary, but because they are symbols that denote any value.

One more example: 

   The sequence (3, 2) is the reverse of this sequence (2, 3).  
   We can express the relationship like this:

       (3, 2) = reverse((2, 3))

In all three examples the expressions are not doing anything; rather, they are stating
relationships/rules. 

Imagine writing a program which doesn't do anything; instead, it is simply a collection of relationships/rules.

There are several reasons for doing this:

Your program can be executed in parallel or in any order. For example, consider the following program which
consists of two statements:

-----------------------------------------------
Variables:
      Let s1 denote the sequence (2, 3).
      Let s2 denote a sequence.
      Let Length denote the value 6.
      Let Breadth denote the value 5.
      Let Area denote an area of a rectangle.

Program:
        1. Area = Length * Breadth
        2. s2 = reverse(s1)

Output:
        The area is: Area
        The reverse of the sequence is: s2
-----------------------------------------------

Clearly the two program statements can be executed in any order or even in parallel.

Furthermore, suppose the program outputs this XML document:

<Document>
      <Rectangle>
            <Length>6</Length>
            <Breadth>5</Breadth>
            <Area>30</Area>
      </Rectangle>
      <Sequence>
            <Original>
                  <First>2</First>
                  <Second>3</Second>
            </Original>
            <Reversed>
                  <First>3</First>
                  <Second>2</Second>
            </Reversed>
      </Sequence>
</Document>

Then we can use XSD 1.1 assertions to validate the program's output (and thereby implicitly validate the program):

<assertion test="Area = Length * Breadth" />
<assertion test="(Reversed/First, Reversed/Second) = reverse((Original/First,
Original/Second))" />

We've seen two benefits to writing programs as a collection of relationships/rules:

First, your program statements can be executed in any order or even in parallel. This means that your
program doesn't have to run on a von Neumann machine.

Second, using XSD 1.1 assertions you can (implicitly) validate your program.

Wow!  Wow!

And there's a third benefit: the program statements can be incrementally updated. In the above program,
suppose the rectangle is stretched, thus resulting in a new Length and Breadth, that's okay because it
simply results in updating this relationship:

    Area = Length * Breadth

The other relationship is not impacted.

Incremental updates, processing in any order or even in parallel, and program validation ... awesome!

What I've just described is XSLT (and XSD 1.1 for validation).

XSLT and XSD 1.1 rocks!

/Roger

[1] XSLT 2.0 and XPath 2.0 by Michael Kay, p. 986 - 987.
_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
subscribe: xml-dev-subscribe <at> lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Rick Jelliffe | 10 Dec 2009 14:00
Picon

Re: Write Programs That Don't *Do* Anything ... Express Relationships/Rules

Costello, Roger L. wrote:

> Incremental updates, processing in any order or even in parallel, and program validation ... awesome!
>
> What I've just described is XSLT (and XSD 1.1 for validation).
>
> XSLT and XSD 1.1 rocks!
>   
 I don't get it. What is new? 

If you are talking about persistent objects with validating listeners, 
that is the way that for example many GUI systems work, isn't it?

Cheers
Rick Jelliffe

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
subscribe: xml-dev-subscribe <at> lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Frank Manola | 10 Dec 2009 16:06
Picon
Favicon

Re: Write Programs That Don't *Do* Anything ... Express Relationships/Rules

Roger--

Re the subject:  I think there are already too many people who write programs that don't do anything;  no
additional encouragement is necessary.

There are also "cons" to the approach you're describing.  You might want to do some background reading in
topics such as logic programming, relational programming, and rule-based programming.  That's
essentially what you're talking about (with the addition of angle-brackets).  

--Frank

On Dec 10, 2009, at 7:49 AM, Costello, Roger L. wrote:

> 
> Hi Folks,
> 
> Recently I read something [1] that is very exciting and want to share what I learned. 
> 
> Rules are important. And they are everywhere.
> 
> A key new feature of XML Schema 1.1 is the ability to express rules. For example, you can express this rule:
> 
>    Level 1 managers can sign off on purchase requests 
>    that do not exceed $10K.
> 
> Rules are all about expressing relationships. Recall from your school days you learned this
mathematical relationship:
> 
>    2 + 3 = 3 + 2
> 
> This relationship uses specific values. You learned that the relationship can be generalized: 
> 
>    For any value x and any value y:
> 
>        x + y = y + x
> 
> You can call this a relationship or a rule. And it always holds true.
> 
> 
> Here's another example: 
> 
>    A rectangle that is 6 units in length and 
>    5 units in breadth has this area:
> 
>        30 = 6 * 5
> 
> This can be generalized to:
> 
>    Area = Length * Breadth
> 
> It is important to recognize that this relationship is not "assigning" Area the result of multiplying
Length and Breadth, i.e., it isn't doing anything. Rather, it is a statement of the relationship that
exists between the Area of a rectangle and its Length and Breadth: 
> 
>    If you multiply Length and Breadth the result is 
>    the Area of the rectangle.
> 
> x, y, Area, Length, and Width are called variables. They are called variables, not because their values
vary, but because they are symbols that denote any value.
> 
> 
> One more example: 
> 
>   The sequence (3, 2) is the reverse of this sequence (2, 3).  
>   We can express the relationship like this:
> 
>       (3, 2) = reverse((2, 3))
> 
> 
> In all three examples the expressions are not doing anything; rather, they are stating
relationships/rules. 
> 
> Imagine writing a program which doesn't do anything; instead, it is simply a collection of relationships/rules.
> 
> There are several reasons for doing this:
> 
> Your program can be executed in parallel or in any order. For example, consider the following program
which consists of two statements:
> 
> -----------------------------------------------
> Variables:
>      Let s1 denote the sequence (2, 3).
>      Let s2 denote a sequence.
>      Let Length denote the value 6.
>      Let Breadth denote the value 5.
>      Let Area denote an area of a rectangle.
> 
> Program:
>        1. Area = Length * Breadth
>        2. s2 = reverse(s1)
> 
> Output:
>        The area is: Area
>        The reverse of the sequence is: s2
> -----------------------------------------------
> 
> Clearly the two program statements can be executed in any order or even in parallel.
> 
> Furthermore, suppose the program outputs this XML document:
> 
> <Document>
>      <Rectangle>
>            <Length>6</Length>
>            <Breadth>5</Breadth>
>            <Area>30</Area>
>      </Rectangle>
>      <Sequence>
>            <Original>
>                  <First>2</First>
>                  <Second>3</Second>
>            </Original>
>            <Reversed>
>                  <First>3</First>
>                  <Second>2</Second>
>            </Reversed>
>      </Sequence>
> </Document>
> 
> Then we can use XSD 1.1 assertions to validate the program's output (and thereby implicitly validate the program):
> 
> <assertion test="Area = Length * Breadth" />
> <assertion test="(Reversed/First, Reversed/Second) = reverse((Original/First,
Original/Second))" />
> 
> 
> We've seen two benefits to writing programs as a collection of relationships/rules:
> 
> First, your program statements can be executed in any order or even in parallel. This means that your
program doesn't have to run on a von Neumann machine.
> 
> Second, using XSD 1.1 assertions you can (implicitly) validate your program.
> 
> Wow!  Wow!
> 
> And there's a third benefit: the program statements can be incrementally updated. In the above program,
suppose the rectangle is stretched, thus resulting in a new Length and Breadth, that's okay because it
simply results in updating this relationship:
> 
>    Area = Length * Breadth
> 
> The other relationship is not impacted.
> 
> Incremental updates, processing in any order or even in parallel, and program validation ... awesome!
> 
> What I've just described is XSLT (and XSD 1.1 for validation).
> 
> XSLT and XSD 1.1 rocks!
> 
> /Roger
> 
> [1] XSLT 2.0 and XPath 2.0 by Michael Kay, p. 986 - 987.
> _______________________________________________________________________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
> subscribe: xml-dev-subscribe <at> lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
subscribe: xml-dev-subscribe <at> lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

C. M. Sperberg-McQueen | 11 Dec 2009 02:57
Favicon

Re: Help with Xquery


On 30 Nov 2009, at 09:04 , Modulus Solutions-Inc wrote:

> Hi,
>
> Please help me with Xquery below:
>
> I would like to get all the patent_number records where  
> person_name_full="Huber, Avigdor"
>
>
> fn:doc()/document/CMSdoc/doc_type_grp/patent_pub_grp/patent_number
> fn:doc()/document/CMSdoc/doc_general/authors_grp/author_grp/ 
> person_name[person_name_full="Huber, Avigdor"]
>

I'm not quite sure what your two XPath expressions signify (so
I may not have understood your question).  If you mean that you
want to match all of the CMSdoc elements which have a patent
number and which have an author named Avigdor Huber, then you
might try something like

   for $doc in fn:doc()/document/CMSdoc
   where $f/doc_type_grp/patent_pub_grp/patent_number
         and
         $f/doc_general/authors_grp/author_grp/person_name
           [person_name_full = "Huber, Avigdor"]
   return $f

Or just

   fn:doc()/document/CMSdoc
     [doc_type_grp/patent_pub_grp/patent_number
      and
      doc_general/authors_grp/author_grp/person_name
        [person_name_full="Huber, Avigdor"]
     ]

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com
* http://cmsmcq.com/mib
* http://balisage.net
****************************************************************

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
subscribe: xml-dev-subscribe <at> lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

w3c | 12 Dec 2009 05:08

New release of CAMeditor v1.7 now available - with NIEM 2.1 and LEXS 3.1.4 support.

XML Editor/Validation/Schema Designer. Implements OASIS CAM standard & NIEM IEPDs. Outline & expand from XML Component Dictionary. Build/Load XSD schema, make XML samples, HTML docs, detect NDR bugs; generate dictionary +CCTS. Eclipse Java & XSLT(Saxon).


This release completes the series of 2009 releases and consolidates 3 months of development work on both CAMV validator engine and the CAMeditor tools. 

 

 

For the CAMeditor significant changes include improvements to the Eclipse user interface and template structure display along with enhancing the top down designer and generation and handling of large dictionary structures. Also included is a new LEXS 3.1.4 dictionary with sample expander blueprint templates for LEXS messages and updates of the NIEM dictionary files to the NIEM 2.1 release.  Various NIEM related enhancements have been made in support of better IEPD generation (http://www.niem.gov).  CAMeditor is built using Eclipse, Java, and Saxon xslt.

 

 

The CAMV validation engine is now a thread-safe implementation supporting deployment in middleware containers such as jBOSS or IBM Websphere MQ™. Validation of exchange structures now allows handling of very large XML instances with checking of a discreet subset of business content requirements. Also integration support for Java call methods (SDOM) has been implemented (CAMV is developed in Java using Saxon, Xerces and XPath v2.0 support).


The project vision is to provide the leading open source toolset for implementing standards based information exchanges with XML, including the NIEM IEPD approach. Simplifying and speeding the development process and enhancing the quality of your resulting schema for superior XML exchanges.  To date we have had over 15,500 downloads from Sourceforge.net (http://www.sourceforge.net/projects/camprocessor).

  

Here’s wishing everyone a Very Happy Holiday Season and all success in 2010 for your XML projects.

_______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org subscribe: xml-dev-subscribe <at> lists.xml.org List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Julian Reschke | 15 Dec 2009 13:38
Picon
Picon

"The QName URN Namespace" (draft-rsalz-qname-urn-01)

Hi,

"just" five years ago David Orchard and Richard Salz proposed a URN 
namespace to represent QNames (and expanded names). For some reason 
(lack of a use case?) that never was finished.

In the meantime, I *do* have a use case, so I asked the original authors 
for permission to restart work.

The new draft (01) essentially is identical to the draft from 2004, 
except for updated references and boilerplate, and an in-document issues 
list.

I plan to work through these issues (hopefully with participation from 
this mailing list) over the next few weeks.

Best regards, Julian

PS: HTML version at 
<http://greenbytes.de/tech/webdav/draft-rsalz-qname-urn-01.html>.

Internet-Drafts <at> ietf.org wrote:
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> 
> 	Title           : The QName URN Namespace
> 	Author(s)       : D. Orchard, et al.
> 	Filename        : draft-rsalz-qname-urn-01.txt
> 	Pages           : 10
> 	Date            : 2009-12-15
> 
> This specification defines a Uniform Resource Name namespace for XML
> namespace-qualified names, QNames.  As long as the URN is encoded in
> the same character set as the document containing the original QName,
> the Qname URN provides enough information to maintain the semantics,
> and optionally the exact syntax, of the original name.
> 
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-rsalz-qname-urn-01.txt
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce <at> ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe <at> lists.xml.org
subscribe: xml-dev-subscribe <at> lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


Gmane