W3C home > Mailing lists > Public > public-rif-comments@w3.org > November 2009

XML Serialization Framework: xml:lang and xml:base

From: Thomas Krekeler <krekeler@ontoprise.de>
Date: Mon, 2 Nov 2009 10:53:18 +0100
To: <public-rif-comments@w3.org>
Message-Id: <0Luron-1M5TQJ2WQb-010bzN@mrelayeu.kundenserver.de>
Hello,

I have some little comments and questions about the XML Serialization
Framework, thanks your help!


= 'type' attribute for 'Const' =
The list in [1] contains
- Const     (individual, function, or predicate symbol, with optional 'type'
attribute)
On the other hand the XSD schema ([2]) explicitly defines the 'type'
attribute to be required.


= Locator in an Import Directive =
The XSD schema ([2]) element 'location' refers to 'LOCATOR' which contains a
'Const' element.
Maybe the XSD schema is out dated since [3] says that a locator is not a
(rif:iri) constant?


= xml:lang =
The definition of the 'Const' element in [2] refers to the 'xml:lang'
attribute.
Is this attribute for the reader's information only, or does it affect the
back transformation from XML syntax to presentation syntax?
If so, which of the following XML fragments are valid and what are their
back transformations?
<Const type="&rdf;PlainLiteral" xml:lang="en">abc</Const>
<Const type="&rdf;PlainLiteral" xml:lang="en">abc@</Const>
<Const type="&rdf;PlainLiteral" xml:lang="en">abc@de</Const>


= xml:base =
The xml:base specification ([4]) does not define on which URIs contained in
an XML document the resolving mechanism against their base URIs applies.
What about 
* the 'type' attribute of 'Const',
* the content of the 'location' element,
* the content of the 'Const' element if its type is xsd:anyURI or rif:IRI?


[1] http://www.w3.org/TR/rif-fld/#XML_for_the_RIF-FLD_Language
[2] http://www.w3.org/TR/rif-fld/#Baseline_Schema_Module
[3] http://www.w3.org/TR/rif-fld/#Well-formed_Terms_and_Formulas
[4] http://www.w3.org/TR/xmlbase/


Yours,
Thomas


---
Thomas Krekeler
Development
ontoprise GmbH – know how to use Know-how
---
ontoprise presents the new SemanticMiner for SharePoint
---
An der RaumFabrik 29; 76227 Karlsruhe; Germany
Phone: +49 721 509809-51; Fax: +49 721 509809-11
mailto:krekeler@ontoprise.de, www: http://www.ontoprise.de
Registered office: Karlsruhe, Germany;  Register court: Mannheim, HRB 109540

Managing directors: Prof. Dr. Jürgen Angele, Dipl.Wi.-Ing. Hans-Peter
Schnurr
---
Received on Monday, 2 November 2009 09:53:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 November 2009 09:53:53 GMT