Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » XPath syntax problem when importing an XML-Schema
XPath syntax problem when importing an XML-Schema [message #420734] Wed, 09 July 2008 09:06 Go to next message
Eclipse UserFriend
Originally posted by: erwann.poupart.cnes.fr

Hi,

I have got the following error message probably due to an unaccepted Xpath
syntax

when i try to create a new EMF Model starting from the XML-Schema below.

I use Eclipse 3.4, and EMF version 2.4.0.

Error Message :

"Problems were detected when validating and converting the XMLSchemas"

Error : XSD : the value xtce:TelemetryMetaData/ParameterTypeSet/* |
xtce:CommandMetaData/ParameterTypeSet/* of attribute xpath must conform to
pattern '(\. ......

This XML-Schema is considered as valid by XMLSpy and corresponds to an
OMG/SDTF standard (see :
http://www.omg.org/spec/XTCE/20061101/06-11-06.xsd)

Thank You for any help,

Best Regards

Erwann.
Re: XPath syntax problem when importing an XML-Schema [message #420739 is a reply to message #420734] Wed, 09 July 2008 10:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33146
Registered: July 2009
Senior Member
Erwann,

Comments below.

poupart wrote:
> Hi,
>
> I have got the following error message probably due to an unaccepted
> Xpath syntax
>
> when i try to create a new EMF Model starting from the XML-Schema below.
>
> I use Eclipse 3.4, and EMF version 2.4.0.
>
> Error Message :
>
> "Problems were detected when validating and converting the XMLSchemas"
>
> Error : XSD : the value xtce:TelemetryMetaData/ParameterTypeSet/* |
> xtce:CommandMetaData/ParameterTypeSet/* of attribute xpath must
> conform to pattern '(\. ......
>
> This XML-Schema is considered as valid by XMLSpy and corresponds to an
> OMG/SDTF standard (see :
> http://www.omg.org/spec/XTCE/20061101/06-11-06.xsd)
The XSD model is strictly validating the regular expression provided in
XMLSchema.xsd and that regular expression doesn't not permit spaces in
the xpath expression. I'm not sure if there have been any errata about
that issue, but the regular expression in the normative schema for
schemas hasn't changed so strictly speaking, an xpath with spaces
doesn't conform to what's specified in the normative schema for schemas,
so until that W3C changes that regular expression, it's best to avoid
the spaces. I've pointed out many times that XMLSpy not reporting
problems isn't the best indication of there not being problems. You can
simply ignore this error since EMF doesn't do anything with the identity
constraints anyway even if they are well formed.
>
> Thank You for any help,
>
> Best Regards
>
> Erwann.
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: XPath syntax problem when importing an XML-Schema [message #420921 is a reply to message #420739] Wed, 16 July 2008 15:01 Go to previous message
Eclipse UserFriend
Originally posted by: erwann.poupart.cnes.fr

Hi,

Thank you very much.

Your answer has resolved the problem.

Best Regards,

Erwann.
Previous Topic:Persisting attributes with default values, again
Next Topic:no bugs for bugday
Goto Forum:
  


Current Time: Sat May 11 03:10:09 GMT 2024

Powered by FUDForum. Page generated in 0.03101 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top