[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] Validator, xpath 1.0 parser

Hey Michal,

nice Job on the Validator stuff - however, it doesn't compile on my machine
;-)
I get the following error:

The import org.eclipse.bpel.xpath10.parser.XPath10Lexer cannot be resolved
org.eclipse.bpel.xpath10/src/org/eclipse/bpel/xpath10/parser/junit
AbstractTC.java

Is it possible that you forgot to check in the XPath10Parser and the
XPath10Lexer class ?
These two classes are missing and that seems to be the root cause, at least
on my machine? Anyone experiencing the same?
|-----------------+---------------------------------+--------------------------------+-------------+>
|Mit freundlichen |                                 |                                |             ||
|Grüßen / Kind    |                                 |                                |             ||
|regards          |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|                 |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|Simon Daniel     |                                 |                                |             ||
|Moser            |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|(Embedded image  |(Embedded image moved to file:   |(Embedded image moved to file:  |             ||
|moved to file:   |pic32192.gif)                    |pic01032.gif)                   |             ||
|pic02245.gif)    |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|Team Lead BPEL   |                                 |                                |             ||
|Editor -         |                                 |                                |             ||
|Websphere        |                                 |                                |             ||
|Integration      |                                 |                                |             ||
|Developer (WID)  |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|IBM Software     |                                 |                                |             ||
|Group,           |                                 |                                |             ||
|Application and  |                                 |                                |             ||
|Integration      |                                 |                                |             ||
|Middleware       |                                 |                                |             ||
|Software         |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|Business Process |                                 |                                |             ||
|Solutions        |                                 |                                |             ||
|Development 1    |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|(Embedded image  |                                 |                                |             ||
|moved to file:   |                                 |                                |             ||
|pic06844.gif)    |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|Phone:           |+49-7031-16-4304                 | IBM Deutschland                |    (Embedded||
|                 |                                 |                                |  image moved||
|                 |                                 |                                |     to file:||
|                 |                                 |                                |pic31855.gif)||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|Fax:             |+49-7031-16-4890                 | Schoenaicher Str. 220          |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|E-Mail:          |smoser@xxxxxxxxxx                | 71032 Boeblingen               |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|                 |                                 | Germany                        |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|(Embedded image  |                                 |                                |             ||
|moved to file:   |                                 |                                |             ||
|pic06695.gif)    |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  >-----------------------------------------------------------------------------------------------------------------------------|
|-----------------+---------------------------------+--------------------------------+-------------+>
|IBM Deutschland  |                                 |                                |             ||
|Research &       |                                 |                                |             ||
|Development GmbH |                                 |                                |             ||
|/ Vorsitzender   |                                 |                                |             ||
|des              |                                 |                                |             ||
|Aufsichtsrats:   |                                 |                                |             ||
|Martin Jetter    |                                 |                                |             ||
|Geschäftsführung:|                                 |                                |             ||
|Herbert Kircher  |                                 |                                |             ||
|Sitz der         |                                 |                                |             ||
|Gesellschaft:    |                                 |                                |             ||
|Böblingen /      |                                 |                                |             ||
|Registergericht: |                                 |                                |             ||
|Amtsgericht      |                                 |                                |             ||
|Stuttgart, HRB   |                                 |                                |             ||
|243294           |                                 |                                |             ||
|-----------------+---------------------------------+--------------------------------+-------------+>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |(Embedded image moved to file: pic04659.gif)                                                                                 |
  >-----------------------------------------------------------------------------------------------------------------------------|





                                                                       
  From:       Michal Chmielewski <michal.chmielewski@xxxxxxxxxx>       
                                                                       
  To:         "BPEL Designer project developer discussions." <bpel-dev@xxxxxxxxxxx>
                                                                       
  Date:       05.08.2008 01:10                                         
                                                                       
  Subject:    [bpel-dev] Validator, xpath 1.0 parser.                  
                                                                       





All,

Just wanted to let you know that I checked in the xpath 1.0 parser that
attempts to behave almost exactly from an API perspective as Jaxen did.
Some junit tests to boot as well.

The parser just parses the source and builds syntax trees but does not
provide and runtime support for evaluating the Xpath expressions. If
someone wants to add this, that's fine, we don't really need it at this
point. The syntax also remember where the main tokens were in the
expression so that errors can be hi-lighted as well.

All of this sits in the plugin org.eclipse.bpel.xpath10.

>From the validator perspective, a little code changes as well to adapt to
this parser.

I had a question regarding the BPELResourceSetImpl in the model package.
I've commended the lines that are causing some pain when I want to run the
validator stand-alone outside of eclipse [have not chacked that in yet,
want to understand the change]

I think they were added by Oleg on around may 13.

public BPELResourceSetImpl() {
        super();
        // IWorkspace workspace = ResourcesPlugin.getWorkspace();
        // workspace.addResourceChangeListener(this,
IResourceChangeEvent.POST_BUILD);
    }

The simple part is that I need a resourceset (the "slightly hacked
version", which can load URI based on extension) but it needs to be able to
run outside of the eclipse env.
The ResourceChange listener is there just to flush a the content of what is
cached after a build ... seems that this could be done elsewhere.

-michal
--
Michal Chmielewski, CMTS, Oracle Corp,
W:650-506-5952 / M:408-209-9321

"Manuals ?! What manuals ? Son, it's Unix, you just gotta know."
_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev

Attachment: pic02245.gif
Description: GIF image

Attachment: pic32192.gif
Description: GIF image

Attachment: pic01032.gif
Description: GIF image

Attachment: pic06844.gif
Description: GIF image

Attachment: pic31855.gif
Description: GIF image

Attachment: pic06695.gif
Description: GIF image

Attachment: pic04659.gif
Description: GIF image