[svg-developers] Validating Compound or WICD documents

2008-10-30 Thread Andreas Neumann
Hi,

This is a question towards the multinamespace experts: If I have a 
compound document (e.g. XHTML, SVG, MathML) - how can I validate 
these documents properly. Is there a RelaxNG available to cover all 
these vocabularies in a single document? My preferred XML environment 
is currently OxygenXML - I wonder if there are tools either within 
Oxygen or outside (could also be commandline) that allow me to 
validate such documents.

Thanks,
Andreas




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Validating Compound or WICD documents

2008-10-30 Thread Christophe Strobbe
Hi Andreas,

At 09:11 30/10/2008, Andreas Neumann wrote:
>Hi,
>
>This is a question towards the multinamespace experts: If I have a
>compound document (e.g. XHTML, SVG, MathML) - how can I validate
>these documents properly. Is there a RelaxNG available to cover all
>these vocabularies in a single document? My preferred XML environment
>is currently OxygenXML - I wonder if there are tools either within
>Oxygen or outside (could also be commandline) that allow me to
>validate such documents.

In the last few years, I have been working with document types that 
use multiple namespaces (completely unrelated to SVG). These document 
types are defined in XML Schemas that describe where each element 
can/must be used, e.g. the schema says that the 'formalMetadata' 
element needs to contain a 'dc:title' element ('dc' here referring to 
Dublin Core), that it can have a 'xml:lang' attribute, etc. An XML 
Schema can also specify how elements and attributes from other 
namespaces need to be handled, with rules like ,  or .
(These examples are from Test Case Description Language 2.0: 
.)
If there is no schema for the WICD documents (regardless of the 
schema language - XML Schemas, RelaxNG, ISO Schematron, ...), I 
wouldn't know how to validate such a document. Namespace declarations 
and xsi:schemaLocation aren't enough, as far as I know, because you 
still need a description of how element X from namespace A relates to 
element Y from namespace B etc.

Best regards,

Christophe


-- 
Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/
---
Please don't invite me to LinkedIn, Facebook, Quechup or other 
"social networks". You may have agreed to their "privacy policy", but 
I haven't.


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Validating Compound or WICD documents

2008-10-30 Thread David Leunen
Hi Andreas,

> If I have a
> compound document (e.g. XHTML, SVG, MathML) - how can I validate
> these documents properly.

For this particular example, I thought that's what the
XHTML+MathML+SVG profile was for :
http://www.w3.org/TR/XHTMLplusMathMLplusSVG/

> Is there a RelaxNG available to cover all
> these vocabularies in a single document? My preferred XML environment
> is currently OxygenXML - I wonder if there are tools either within
> Oxygen or outside (could also be commandline) that allow me to
> validate such documents.

I'm afraid I don't know any RelaxNG schema for this, but the
aforementioned profile provides a DTD.
The W3C validator support the profile :
http://validator.w3.org/#validate_by_uri+with_options
And I'm sure OxygenXML or any other decent xml editor has a way to
validate a document upon a DTD. If you need more advanced validation,
you can always convert the DTD to another schema language (relaxng,
...) and extend it.

For other types of combinations, you'll have to write the combined
profile yourself, or look for it on internet.

cheers

David



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/